compares the relative fitness of two methods in terms of how well they match a set of runtime parameter types , such that a list ordered by the results of the comparison would return the best match first least . concode_field_sep Class<?>[] ORDERED_PRIMITIVE_TYPES concode_elem_sep Class<?>[] parameterTypes concode_elem_sep boolean isVarArgs concode_elem_sep int ACCESS_TEST concode_field_sep boolean isAccessible concode_elem_sep boolean isMatchingConstructor concode_elem_sep boolean isVarArgs concode_elem_sep float getPrimitivePromotionCost concode_elem_sep Class<?>[] getParameterTypes concode_elem_sep int compareConstructorFit concode_elem_sep boolean isMatchingMethod concode_elem_sep boolean isPackageAccess concode_elem_sep boolean isMatchingExecutable concode_elem_sep float getObjectTransformationCost concode_elem_sep Executable of concode_elem_sep Executable of concode_elem_sep int compareParameterTypes concode_elem_sep float getTotalTransformationCost concode_elem_sep boolean setAccessibleWorkaround
int function ( final Method arg0 , final Method arg1 , final Class < ? > [ ] arg2 ) { return compareParameterTypes ( Executable . of ( arg0 ) , Executable . of ( arg1 ) , arg2 ) ; }