|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.vidageek.mirror.reflect.DefaultAllAnnotationsHandler
public final class DefaultAllAnnotationsHandler
This class is responsible for choosing where to reflect annotations.
| Constructor Summary | |
|---|---|
DefaultAllAnnotationsHandler(ReflectionProvider provider,
Class<?> clazz)
|
|
| Method Summary | |
|---|---|
List<Annotation> |
atClass()
Use this method to reflect all annotations at clazz. |
List<Annotation> |
atField(String fieldName)
Use this method to reflect all annotations at field fieldName. |
AllMethodAnnotationsHandler |
atMethod(String methodName)
Use this method to reflect all annotations at method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAllAnnotationsHandler(ReflectionProvider provider,
Class<?> clazz)
| Method Detail |
|---|
public List<Annotation> atClass()
AllAnnotationsHandler
atClass in interface AllAnnotationsHandlerAnnotatedElementReflectionProvider.getAnnotations()public List<Annotation> atField(String fieldName)
AllAnnotationsHandler
atField in interface AllAnnotationsHandlerfieldName - Name of the field from where to search for annotations.
AnnotatedElementReflectionProvider.getAnnotations()public AllMethodAnnotationsHandler atMethod(String methodName)
AllAnnotationsHandler
atMethod in interface AllAnnotationsHandlermethodName - Name of the method from where to search for annotations.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||