int function ( final Executable arg0 , final Executable arg1 , final Class < ? > [ ] arg2 ) { final float loc0 = getTotalTransformationCost ( arg2 , arg0 ) ; final float loc1 = getTotalTransformationCost ( arg2 , arg1 ) ; return loc0 < loc1 ? - 1 : loc1 < loc0 ? 1 : 0 ; }
compares the relative fitness of two executables 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 float getTotalTransformationCost concode_elem_sep int compareMethodFit concode_elem_sep boolean setAccessibleWorkaround