com.caucho.config.inject
Class NewLiteral
java.lang.Object
javax.enterprise.util.AnnotationLiteral<New>
com.caucho.config.inject.NewLiteral
- All Implemented Interfaces:
- java.io.Serializable, java.lang.annotation.Annotation, New
public class NewLiteral
- extends AnnotationLiteral<New>
- implements New
Represents the @New annotation
- See Also:
- Serialized Form
Constructor Summary |
NewLiteral(java.lang.Class<?> value)
|
Method Summary |
java.lang.String |
toString()
|
java.lang.Class<?> |
value()
|
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 |
NEW
public static final NewLiteral NEW
NewLiteral
public NewLiteral(java.lang.Class<?> value)
value
public java.lang.Class<?> value()
toString
public java.lang.String toString()
- Specified by:
toString
in interface java.lang.annotation.Annotation
- Overrides:
toString
in class AnnotationLiteral<New>