|
||||||||||
| 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 java.lang.annotation.Annotation>
Abstract representation of an annotation model
| Field Summary | |
|---|---|
protected boolean |
valid
|
| Constructor Summary | |
|---|---|
AnnotationModel(java.lang.Class<T> type,
ClassTransformer transformer)
Constructor |
|
| Method Summary | |
|---|---|
protected WeldAnnotation<T> |
getAnnotatedAnnotation()
Gets the annotated annotation |
protected abstract java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getMetaAnnotationTypes()
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 |
| Field Detail |
|---|
protected boolean valid
| Constructor Detail |
|---|
public AnnotationModel(java.lang.Class<T> type,
ClassTransformer transformer)
type - The annotation type| Method Detail |
|---|
protected void init()
protected void initType()
protected void initValid()
public java.lang.Class<T> getRawType()
protected abstract java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getMetaAnnotationTypes()
public boolean isValid()
protected WeldAnnotation<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 | |||||||||