Class ReflectionUtils


  • public final class ReflectionUtils
    extends Object
    Utility class used to infer the parameter type of an input method of an input class
    Author:
    Andrea Vacondio
    • Method Detail

      • inferParameterClass

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