|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webbeans.model.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)
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> |
getType()
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 |
toDetailedString()
|
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)
type - The annotation type| Method Detail |
|---|
protected void init()
protected void initType()
protected void initValid()
public java.lang.Class<T> getType()
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.Objectpublic java.lang.String toDetailedString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||