Class NamedLiteral

  • All Implemented Interfaces:
    java.lang.annotation.Annotation

    public final class NamedLiteral
    extends AnnotationLiteral<javax.inject.Named>
    implements javax.inject.Named
    Supports inline instantiation of the Named qualifier.
    Since:
    2.0
    See Also:
    Serialized Form
    • Field Detail

      • INSTANCE

        public static final javax.inject.Named INSTANCE
      • value

        private final java.lang.String value
    • Constructor Detail

      • NamedLiteral

        private NamedLiteral​(java.lang.String value)
    • Method Detail

      • of

        public static NamedLiteral of​(java.lang.String value)
      • value

        public java.lang.String value()