Class NamedImpl
java.lang.Object
org.glassfish.hk2.api.AnnotationLiteral<javax.inject.Named>
org.glassfish.hk2.utilities.NamedImpl
- All Implemented Interfaces:
Annotation
This is an implementation of the
Named annotation.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate static final longFor serialization -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AnnotationLiteral
annotationType, equals, hashCode
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization- See Also:
-
name
-
-
Constructor Details
-
NamedImpl
Creates aNamedannotation with the given name- Parameters:
name- The non-null name to give the annotation
-
-
Method Details
-
value
-
toString
- Specified by:
toStringin interfaceAnnotation- Overrides:
toStringin classObject
-