Class MethodCall.MethodLocator.ForElementMatcher

java.lang.Object
net.bytebuddy.implementation.MethodCall.MethodLocator.ForElementMatcher
All Implemented Interfaces:
MethodCall.MethodLocator
Enclosing interface:
MethodCall.MethodLocator

@Enhance public static class MethodCall.MethodLocator.ForElementMatcher extends Object implements MethodCall.MethodLocator
A method locator that identifies a unique virtual method.
  • Field Details

  • Constructor Details

    • ForElementMatcher

      protected ForElementMatcher(TypeDescription instrumentedType, ElementMatcher<? super MethodDescription> matcher, MethodGraph.Compiler methodGraphCompiler)
      Creates a new method locator for an element matcher.
      Parameters:
      instrumentedType - The instrumented type.
      matcher - The matcher to use.
      methodGraphCompiler - The method graph compiler to use.
  • Method Details