Class DefinedShapeMatcher<T extends ByteCodeElement.TypeDependant<S,?>,S extends ByteCodeElement.TypeDependant<?,?>>

Type Parameters:
T - The type of the matched entity.
S - The type of the defined shape of the matched entity.
All Implemented Interfaces:
ElementMatcher<T>, ElementMatcher.Junction<T>

@Enhance public class DefinedShapeMatcher<T extends ByteCodeElement.TypeDependant<S,?>,S extends ByteCodeElement.TypeDependant<?,?>> extends ElementMatcher.Junction.ForNonNullValues<T>
An element matcher that matches a byte code's element's token against a matcher for such a token.
  • Field Details

  • Constructor Details

    • DefinedShapeMatcher

      public DefinedShapeMatcher(ElementMatcher<? super S> matcher)
      Creates a new matcher for a byte code element's defined shape.
      Parameters:
      matcher - The matcher to apply onto the defined shape of the matched entity.
  • Method Details