public class MethodsCollector
extends java.lang.Object
| Constructor and Description |
|---|
MethodsCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
call(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Called to process all methods annotated with provided annotation.
|
void |
register(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
java.lang.Object instance,
java.lang.reflect.Method method) |
void |
safeCall(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Called to process all methods annotated with provided annotation.
|
public void register(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
java.lang.Object instance,
java.lang.reflect.Method method)
public void call(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
annotation - target method annotationpublic void safeCall(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
annotation - target method annotation