Package io.inugami.api.tools
Class AnnotationTools
- java.lang.Object
-
- io.inugami.api.tools.AnnotationTools
-
public final class AnnotationTools extends Object
-
-
Constructor Summary
Constructors Constructor Description AnnotationTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> List<FieldGetterSetter>extractFieldGetterAndSetter(T instance)static <T> List<Method>extractGetters(T instance)static <T> Tinvoke(Method method, Object object, Object... params)static StringresolveNamed(Object object)static AnnotationsearchAnnotation(Annotation[] annotations, String... names)static MethodsearchMethod(Annotation annotation, String method)static MethodsearchMethod(Class<?> objectClass, String method)
-
-
-
Method Detail
-
searchAnnotation
public static Annotation searchAnnotation(Annotation[] annotations, String... names)
-
searchMethod
public static Method searchMethod(Annotation annotation, String method)
-
extractFieldGetterAndSetter
public static <T> List<FieldGetterSetter> extractFieldGetterAndSetter(T instance)
-
-