@Test public void testMatchesArgumentsNull() { assertThat(ReflectionUtil.matchesArguments( new Class<?>[] { String.class }, new Object[] { null })) .isEqualTo(true); assertThat(ReflectionUtil.matchesArguments( new Class<?>[] { int.class }, new Object[] { null })) .isEqualTo(false); }
public static boolean matchesArguments(Constructor<?> constructor, Object[] arguments) { return matchesArguments(constructor.getParameterTypes(), arguments); }
ReflectionUtil { public static boolean matchesArguments(Constructor<?> constructor, Object[] arguments) { return matchesArguments(constructor.getParameterTypes(), arguments); } }
ReflectionUtil { public static boolean matchesArguments(Constructor<?> constructor, Object[] arguments) { return matchesArguments(constructor.getParameterTypes(), arguments); } private  ReflectionUtil(); }
ReflectionUtil { public static boolean matchesArguments(Constructor<?> constructor, Object[] arguments) { return matchesArguments(constructor.getParameterTypes(), arguments); } private  ReflectionUtil(); static boolean matchesArguments(Constructor<?> constructor, Object[] arguments); static boolean matchesArguments(Method method, Object[] arguments); static boolean matchesArguments(Class<?>[] argumentTypes, Object[] arguments); static boolean matchesType(Class<?> parameterType, Class<?> argumentType); }
ReflectionUtil { public static boolean matchesArguments(Constructor<?> constructor, Object[] arguments) { return matchesArguments(constructor.getParameterTypes(), arguments); } private  ReflectionUtil(); static boolean matchesArguments(Constructor<?> constructor, Object[] arguments); static boolean matchesArguments(Method method, Object[] arguments); static boolean matchesArguments(Class<?>[] argumentTypes, Object[] arguments); static boolean matchesType(Class<?> parameterType, Class<?> argumentType);  }