Class Names

java.lang.Object
be.imgn.inject.Names

public final class Names extends Object
Factories for built-in qualifier annotation instances.
  • Method Details

    • named

      public static Named named(String value)
      Returns a Named instance for use as a qualifier.

      The returned instance obeys the Annotation equality and hash-code contract, so it is equal to any other @Named with the same value, however obtained.

      Parameters:
      value - the qualifier name
      Returns:
      a Named instance for use as a qualifier