Package 

Class MemberUtils


  • 
    public abstract class MemberUtils
    
                        

    Contains common code for working with Methods/Constructors, extracted and refactored from MethodUtils when it was imported from Commons BeanUtils.

    • Method Summary

      Modifier and Type Method Description
      static int compareParameterTypes(Array<Class<out Object>> left, Array<Class<out Object>> right, Array<Class<out Object>> actual) Compares the relative fitness of two sets of parameter types in terms ofmatching a third set of runtime parameter types, such that a list orderedby the results of the comparison would return the best match first(least).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • compareParameterTypes

         static int compareParameterTypes(Array<Class<out Object>> left, Array<Class<out Object>> right, Array<Class<out Object>> actual)

        Compares the relative fitness of two sets of parameter types in terms ofmatching a third set of runtime parameter types, such that a list orderedby the results of the comparison would return the best match first(least).

        Parameters:
        left - the "left" parameter set
        right - the "right" parameter set
        actual - the runtime parameter types to match againstleft/right