Class MemberSubstitution.Substitution.ForMethodInvocation.OfMatchedMethod

    • Constructor Detail

      • OfMatchedMethod

        public OfMatchedMethod​(ElementMatcher<? super MethodDescription> matcher,
                               MethodGraph.Compiler methodGraphCompiler)
        Creates a factory for a substitution that locates a method on the receiver type.
        Parameters:
        matcher - The matcher for locating the method to substitute with.
        methodGraphCompiler - The method graph compiler to use.