|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.loom.annotation.processor.metadata.AnnotationMetadata
public class AnnotationMetadata
Gives fast and easy access to all annotations related to an Action class
| Constructor Summary | |
|---|---|
AnnotationMetadata()
|
|
| Method Summary | |
|---|---|
void |
add(AnnotationContainer container,
VisitedPath path)
Add a property/method with the provided VisitedPath |
void |
add(FilteredAnnotationContainer wrapper)
|
void |
addVisitedClass(java.lang.Class<?> clazz)
|
java.lang.Class<?> |
getAnnotatedClass()
|
java.util.Set<FilteredAnnotationContainer> |
getAnnotatedMethods(java.lang.Class<? extends java.lang.annotation.Annotation>... annotations)
Return all methods that include the provided annotations |
java.util.Set<FilteredAnnotationContainer> |
getAnnotatedProperties(java.lang.Class<? extends java.lang.annotation.Annotation>... annotations)
Return all properties that include the provided annotations. |
FilteredAnnotationContainer |
getFilteredAnnotationContainer(java.lang.String propertyPath)
|
java.util.Set<java.lang.Class<?>> |
getVisitedClasses()
|
void |
setAnnotatedClass(java.lang.Class<?> clazz)
|
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationMetadata()
| Method Detail |
|---|
public java.util.Set<FilteredAnnotationContainer> getAnnotatedProperties(java.lang.Class<? extends java.lang.annotation.Annotation>... annotations)
annotations - the list of annotations to search for
public java.util.Set<FilteredAnnotationContainer> getAnnotatedMethods(java.lang.Class<? extends java.lang.annotation.Annotation>... annotations)
annotations - the list of annotations to search for
public void add(FilteredAnnotationContainer wrapper)
public void add(AnnotationContainer container,
VisitedPath path)
container - the property/method to addpath - the path already visited.public FilteredAnnotationContainer getFilteredAnnotationContainer(java.lang.String propertyPath)
FilteredAnnotationContainer for the provided property path, null if not foundpublic java.lang.Class<?> getAnnotatedClass()
public void setAnnotatedClass(java.lang.Class<?> clazz)
public void addVisitedClass(java.lang.Class<?> clazz)
public int size()
public java.util.Set<java.lang.Class<?>> getVisitedClasses()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||