Package javax.enterprise.inject
Class New.Literal
- java.lang.Object
-
- javax.enterprise.util.AnnotationLiteral<New>
-
- javax.enterprise.inject.New.Literal
-
- All Implemented Interfaces:
java.lang.annotation.Annotation
- Enclosing class:
- New
public static final class New.Literal extends AnnotationLiteral<New> implements New
Supports inline instantiation of theNew
qualifier.- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.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(java.lang.Class<?> value)
java.lang.Class<?>
value()
-
Methods inherited from class javax.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
-
-
-
Field Detail
-
INSTANCE
public static final New.Literal INSTANCE
-
-
Method Detail
-
of
public static New.Literal of(java.lang.Class<?> value)
-
value
public java.lang.Class<?> value()
-
-