- java.lang.Object
-
- jakarta.enterprise.util.AnnotationLiteral<jakarta.inject.Named>
-
- jakarta.enterprise.inject.literal.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 theNamed
qualifier.- Since:
- 2.0
- Author:
- Pete Muir, Jozef Hartinger
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static jakarta.inject.Named
INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NamedLiteral
of(java.lang.String value)
java.lang.String
value()
-
Methods inherited from class jakarta.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
-
-
-
Method Detail
-
of
public static NamedLiteral of(java.lang.String value)
-
value
public java.lang.String value()
-
-