Class MethodHierarchyMatcher

  • All Implemented Interfaces:
    net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.method.MethodDescription>, net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription>

    public class MethodHierarchyMatcher
    extends net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<net.bytebuddy.description.method.MethodDescription>
    This implementation is based on org.stagemonitor.core.instrument.OverridesMethodElementMatcher, under Apache License 2.0
    See Also:
    CustomElementMatchers.overridesOrImplementsMethodThat(ElementMatcher)
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher

        net.bytebuddy.matcher.ElementMatcher.Junction<S extends java.lang.Object>
      • Nested classes/interfaces inherited from interface net.bytebuddy.matcher.ElementMatcher.Junction

        net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase<V extends java.lang.Object>, net.bytebuddy.matcher.ElementMatcher.Junction.Conjunction<W extends java.lang.Object>, net.bytebuddy.matcher.ElementMatcher.Junction.Disjunction<W extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean matches​(net.bytebuddy.description.method.MethodDescription targetMethod)  
      net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.method.MethodDescription> onSuperClassesThat​(net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.type.TypeDescription> superClassMatcher)  
      • Methods inherited from class net.bytebuddy.matcher.ElementMatcher.Junction.AbstractBase

        and, or
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onSuperClassesThat

        public net.bytebuddy.matcher.ElementMatcher<net.bytebuddy.description.method.MethodDescription> onSuperClassesThat​(net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.type.TypeDescription> superClassMatcher)
      • matches

        public boolean matches​(net.bytebuddy.description.method.MethodDescription targetMethod)