Class ClassAndMethodMatcher


  • public class ClassAndMethodMatcher
    extends java.lang.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
      net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.NamedElement> classMatcher  
      net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> methodMatcher  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ClassAndMethodMatcher matcher​(net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.NamedElement> classMatcher, net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> methodDescription)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • 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 Detail

      • 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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object