Class UnqualifiedImpl
- All Implemented Interfaces:
Annotation
This is an implementation of
Unqualified. It is here
as a convenience for creating instances of this annotation
where necessary- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate final Class<? extends Annotation>[] -
Constructor Summary
ConstructorsConstructorDescriptionUnqualifiedImpl(Class<? extends Annotation>... value) Makes a copy of the annotation classes values and initializes thisUnqualifiedannotation with those values -
Method Summary
Modifier and TypeMethodDescriptiontoString()Class<? extends Annotation>[]value()The set of annotations that must not be associated with the service being injectedMethods inherited from class AnnotationLiteral
annotationType, equals, hashCode
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
value
-
-
Constructor Details
-
UnqualifiedImpl
Makes a copy of the annotation classes values and initializes thisUnqualifiedannotation with those values- Parameters:
value- A list of qualifiers that must NOT be on injection point. A zero-length list indicates that no qualifier must be present on the matching service
-
-
Method Details
-
value
The set of annotations that must not be associated with the service being injected- Returns:
- All annotations that must not be on the injected service. An empty list indicates that NO annotations must be on the injected service
-
toString
- Specified by:
toStringin interfaceAnnotation- Overrides:
toStringin classObject
-