|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.vidageek.mirror.reflect.DefaultMethodAnnotationHandler<T>
public final class DefaultMethodAnnotationHandler<T extends java.lang.annotation.Annotation>
This class is responsible for reflecting annotations on a method.
| Constructor Summary | |
|---|---|
DefaultMethodAnnotationHandler(ReflectionProvider provider,
java.lang.Class<?> clazz,
java.lang.String methodName,
java.lang.Class<T> annotation)
|
|
| Method Summary | |
|---|---|
T |
withArgs(java.lang.Class<?>... classes)
Use this method to reflect a single annotation at the method that matches classes as its arguments. |
T |
withoutArgs()
This is a convenience method for MethodAnnotationHandler.withArgs(Class...) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMethodAnnotationHandler(ReflectionProvider provider,
java.lang.Class<?> clazz,
java.lang.String methodName,
java.lang.Class<T> annotation)
| Method Detail |
|---|
public T withArgs(java.lang.Class<?>... classes)
MethodAnnotationHandler
withArgs in interface MethodAnnotationHandler<T extends java.lang.annotation.Annotation>classes - arguments of the method from where to search for annotations.
AnnotatedElementReflectionProvider#getAnnotation(Class)public T withoutArgs()
MethodAnnotationHandlerMethodAnnotationHandler.withArgs(Class...)
withoutArgs in interface MethodAnnotationHandler<T extends java.lang.annotation.Annotation>MethodAnnotationHandler.withArgs(Class...)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||