Class MethodLookup.Result

  • Enclosing class:
    MethodLookup

    public static final class MethodLookup.Result
    extends Object
    The result of finding a method. Besides the method itself, this class also knows which parameter type combination was used to find the method, and supports invoking the method.
    Author:
    Rob Spoor
    Since:
    2.0
    • Method Detail

      • method

        public Method method()
        Returns the method that was found.
        Returns:
        The method that was found.
      • index

        public int index()
        Returns the index of the parameter type combination that was used to find the method.
        Returns:
        The index of the parameter type combination that was used to find the method.