public final class ReflectionUtils
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static <T extends java.lang.annotation.Annotation> |
getMethodsAnnotatedWith(java.lang.Class<?> type,
java.lang.Class<T> annotation) |
Runs through passed type to find methods annotated with annotation
|
public static <T extends java.lang.annotation.Annotation> java.util.List<java.util.Map.Entry<java.lang.reflect.Method,T>> getMethodsAnnotatedWith(java.lang.Class<?> type, java.lang.Class<T> annotation)
T
- type of annotationtype
- type to run throughannotation
- annotation to look forCopyright © 2018. All rights reserved.