public class QualifierModel<T extends Annotation> extends AbstractBindingModel<T>
valid
Constructor and Description |
---|
QualifierModel(EnhancedAnnotation<T> enhancedAnnotatedAnnotation)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
check(EnhancedAnnotation<T> annotatedAnnotation)
Validates the members
|
protected Set<Class<? extends Annotation>> |
getMetaAnnotationTypes()
Gets the meta-annotation type
|
boolean |
hasNonBindingMembers()
Indicates if there are non-binding types present
|
protected void |
initValid(EnhancedAnnotation<T> annotatedAnnotation)
Validates the data for correct annotation
|
boolean |
isEqual(Annotation instance,
Annotation other)
Comparator for checking equality
|
String |
toString()
Gets a string representation of the qualifier model
|
getNonBindingMembers, init, initNonBindingMembers
getAnnotatedAnnotation, getRawType, initType, isValid
public QualifierModel(EnhancedAnnotation<T> enhancedAnnotatedAnnotation)
type
- The typeprotected void initValid(EnhancedAnnotation<T> annotatedAnnotation)
AnnotationModel
initValid
in class AnnotationModel<T extends Annotation>
protected void check(EnhancedAnnotation<T> annotatedAnnotation)
check
in class AnnotationModel<T extends Annotation>
protected Set<Class<? extends Annotation>> getMetaAnnotationTypes()
getMetaAnnotationTypes
in class AnnotationModel<T extends Annotation>
public boolean hasNonBindingMembers()
public boolean isEqual(Annotation instance, Annotation other)
instance
- The instance to check againstother
- The other binding typepublic String toString()
toString
in class AnnotationModel<T extends Annotation>
Copyright © 2015. All Rights Reserved.