Class MethodInvocation.Invocation

    • Constructor Detail

      • Invocation

        protected Invocation​(MethodDescription.InDefinedShape methodDescription)
        Creates an invocation of a given method on its declaring type as an invocation target.
        Parameters:
        methodDescription - The method to be invoked.
      • Invocation

        protected Invocation​(MethodDescription.InDefinedShape methodDescription,
                             TypeDescription typeDescription)
        Creates an invocation of a given method on a given invocation target type.
        Parameters:
        methodDescription - The method to be invoked.
        typeDescription - The type on which this method is to be invoked.