Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReflectionOn

        public ReflectionOn()
    • 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)