- java.lang.Object
-
- com.ensarsarajcic.neovim.java.handler.util.ReflectionUtils
-
public final class ReflectionUtils extends java.lang.ObjectUtilities for reflection required by this library, since all handlers are called reflectively
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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)Runs through passed type to find methods annotated with annotation
-
-
-
Method Detail
-
getMethodsAnnotatedWith
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)Runs through passed type to find methods annotated with annotation- Type Parameters:
T- type of annotation- Parameters:
type- type to run throughannotation- annotation to look for- Returns:
- list of method and annotation pairs
-
-