Class ReflectionUtils


  • public final class ReflectionUtils
    extends java.lang.Object
    Utility class used to infer the parameter type of an input method of an input class
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ReflectionUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Class inferParameterClass​(java.lang.Class clazz, java.lang.String methodName)
      Given a concrete class and a method name, it tries to infer the Class of the first parameter of the method
      • Methods inherited from class java.lang.Object

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

      • ReflectionUtils

        private ReflectionUtils()
    • Method Detail

      • inferParameterClass

        public static java.lang.Class inferParameterClass​(java.lang.Class clazz,
                                                          java.lang.String methodName)
        Given a concrete class and a method name, it tries to infer the Class of the first parameter of the method
        Returns:
        the class or null if nothing found