|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webbeans.metadata.AnnotationModel<T>
public abstract class AnnotationModel<T extends java.lang.annotation.Annotation>
Abstract representation of an annotation model
Constructor Summary | |
---|---|
AnnotationModel(java.lang.Class<T> type,
ClassTransformer transformer)
Constructor |
Method Summary | |
---|---|
protected AnnotatedAnnotation<T> |
getAnnotatedAnnotation()
Gets the annotated annotation |
protected abstract java.lang.Class<? extends java.lang.annotation.Annotation> |
getMetaAnnotation()
Gets the meta-annotation that should be present |
java.lang.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 |
java.lang.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 |
Constructor Detail |
---|
public AnnotationModel(java.lang.Class<T> type, ClassTransformer transformer)
type
- The annotation typeMethod Detail |
---|
protected void init()
protected void initType()
protected void initValid()
public java.lang.Class<T> getRawType()
protected abstract java.lang.Class<? extends java.lang.annotation.Annotation> getMetaAnnotation()
public boolean isValid()
protected AnnotatedAnnotation<T> getAnnotatedAnnotation()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |