Class ClassAndMethodMatcher

java.lang.Object
com.github.beothorn.agent.parser.ClassAndMethodMatcher

public class ClassAndMethodMatcher extends Object
A pair of two matchers, one for class and one for the function. Example: for the expression (ClassA||ClassB)#(fA||fB) The matcher for classes is ClassA||ClassB and the matcher for functions that match the classes is fA||fB Matching entries would be: ClassA#fA ClassA#fB ClassB#fA ClassB#fB
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.NamedElement>
     
    final net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    matcher(net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.NamedElement> classMatcher, net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> methodDescription)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • classMatcher

      public final net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.NamedElement> classMatcher
    • methodMatcher

      public final net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> methodMatcher
  • Method Details

    • matcher

      public static ClassAndMethodMatcher matcher(net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.NamedElement> classMatcher, net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> methodDescription)
    • toString

      public String toString()
      Overrides:
      toString in class Object