Class ReflectionUtils

java.lang.Object
org.pdfsam.eventstudio.util.ReflectionUtils

public final class ReflectionUtils extends Object
Utility class used to infer the parameter type of input method of an input class
  • Constructor Details

    • ReflectionUtils

      private ReflectionUtils()
  • Method Details

    • 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
      Returns:
      the class or null if nothing found