Class ReflectionUtil

java.lang.Object
ch.obermuhlner.scriptengine.java.util.ReflectionUtil

public class ReflectionUtil extends Object
  • Constructor Details

    • ReflectionUtil

      private ReflectionUtil()
  • Method Details

    • matchesArguments

      public static boolean matchesArguments(Constructor<?> constructor, Object[] arguments)
    • matchesArguments

      public static boolean matchesArguments(Method method, Object[] arguments)
    • matchesArguments

      public static boolean matchesArguments(Class<?>[] argumentTypes, Object[] arguments)
    • matchesType

      public static boolean matchesType(Class<?> parameterType, Class<?> argumentType)