Package jakarta.enterprise.inject
Class New.Literal
- java.lang.Object
-
- jakarta.enterprise.util.AnnotationLiteral<New>
-
- jakarta.enterprise.inject.New.Literal
-
- All Implemented Interfaces:
Annotation
- Enclosing class:
- New
public static final class New.Literal extends AnnotationLiteral<New> implements New
Supports inline instantiation of theNew
qualifier.- Since:
- 2.0
- Author:
- Martin Kouba
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jakarta.enterprise.inject.New
New.Literal
-
-
Field Summary
Fields Modifier and Type Field Description static New.Literal
INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static New.Literal
of(Class<?> value)
Class<?>
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 New.Literal INSTANCE
-
-
Method Detail
-
of
public static New.Literal of(Class<?> value)
-
value
public Class<?> value()
-
-