Package one.xingyi.core.reflection
Class ReflectionOn<T>
- java.lang.Object
-
- one.xingyi.core.reflection.ReflectionOn<T>
-
public class ReflectionOn<T> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ReflectionOn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <Result> java.util.List<java.lang.reflect.Method>findMethodsWithReturnType(java.lang.Class<Result> returnClazz, java.util.function.Function<java.lang.reflect.Method,java.lang.Boolean> acceptor)<Result> java.util.List<Result>invokeNoParamMethodsWithReturnType(java.lang.Class<Result> returnClazz, java.util.function.Function<java.lang.reflect.Method,java.lang.Boolean> acceptor)<Result> java.util.List<Result>methodsParamsAndWithReturnType(java.lang.Class<Result> returnClazz, java.util.function.Function<java.lang.reflect.Method,java.lang.Boolean> acceptor, java.lang.Object... params)
-
-
-
Method Detail
-
findMethodsWithReturnType
public <Result> java.util.List<java.lang.reflect.Method> findMethodsWithReturnType(java.lang.Class<Result> returnClazz, java.util.function.Function<java.lang.reflect.Method,java.lang.Boolean> acceptor)
-
invokeNoParamMethodsWithReturnType
public <Result> java.util.List<Result> invokeNoParamMethodsWithReturnType(java.lang.Class<Result> returnClazz, java.util.function.Function<java.lang.reflect.Method,java.lang.Boolean> acceptor)
-
methodsParamsAndWithReturnType
public <Result> java.util.List<Result> methodsParamsAndWithReturnType(java.lang.Class<Result> returnClazz, java.util.function.Function<java.lang.reflect.Method,java.lang.Boolean> acceptor, java.lang.Object... params)
-
-