Module jakarta.cdi

Class NamedLiteral

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

    public final class NamedLiteral
    extends AnnotationLiteral<jakarta.inject.Named>
    implements jakarta.inject.Named
    Supports inline instantiation of the Named qualifier.
    Since:
    2.0
    Author:
    Pete Muir, Jozef Hartinger
    See Also:
    Serialized Form
    • Field Detail

      • INSTANCE

        public static final jakarta.inject.Named INSTANCE
    • Method Detail

      • of

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

        public java.lang.String value()