Class DescriptorMatcher<T extends NamedElement.WithDescriptor>

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

@Enhance public class DescriptorMatcher<T extends NamedElement.WithDescriptor> extends ElementMatcher.Junction.ForNonNullValues<T>
An element matcher that matches a Java descriptor.
  • Field Details

  • Constructor Details

    • DescriptorMatcher

      public DescriptorMatcher(ElementMatcher<String> matcher)
      Creates a new matcher for an element's descriptor.
      Parameters:
      matcher - A matcher to apply to the descriptor.
  • Method Details