Class NamedLiteral
- java.lang.Object
-
- jakarta.enterprise.util.AnnotationLiteral<Named>
-
- jakarta.enterprise.inject.literal.NamedLiteral
-
- All Implemented Interfaces:
Annotation
public final class NamedLiteral extends AnnotationLiteral<Named> implements Named
Supports inline instantiation of theNamed
qualifier.- Since:
- 2.0
- Author:
- Pete Muir, Jozef Hartinger
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NamedLiteral
of(String value)
String
value()
-
Methods inherited from class jakarta.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.annotation.Annotation
annotationType, equals, hashCode, toString
-
-
-
-
Field Detail
-
INSTANCE
public static final Named INSTANCE
-
-
Method Detail
-
of
public static NamedLiteral of(String value)
-
value
public String value()
-
-