|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.weld.metadata.cache.AnnotationModel<T>
public abstract class AnnotationModel<T extends Annotation>
Abstract representation of an annotation model
Field Summary | |
---|---|
protected boolean |
valid
|
Constructor Summary | |
---|---|
AnnotationModel(Class<T> type,
ClassTransformer transformer)
Constructor |
Method Summary | |
---|---|
protected void |
check()
|
WeldAnnotation<T> |
getAnnotatedAnnotation()
Gets the annotated annotation |
protected abstract Set<Class<? extends Annotation>> |
getMetaAnnotationTypes()
Gets the meta-annotation that should be present |
Class<T> |
getRawType()
Gets the type of the annotation |
protected void |
init()
Initializes the type and validates it |
protected void |
initType()
Initializes the type |
protected void |
initValid()
Validates the data for correct annotation |
boolean |
isValid()
Indicates if the annotation is valid |
String |
toString()
Gets a string representation of the annotation model |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean valid
Constructor Detail |
---|
public AnnotationModel(Class<T> type, ClassTransformer transformer)
type
- The annotation typeMethod Detail |
---|
protected void init()
protected void initType()
protected void initValid()
protected void check()
public Class<T> getRawType()
protected abstract Set<Class<? extends Annotation>> getMetaAnnotationTypes()
public boolean isValid()
public WeldAnnotation<T> getAnnotatedAnnotation()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |