Class TypeSortMatcher<T extends TypeDefinition>

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

@Enhance public class TypeSortMatcher<T extends TypeDefinition> extends ElementMatcher.Junction.ForNonNullValues<T>
An element matcher that validates that a given generic type description represents a type of a given name.
  • Field Details

  • Constructor Details

    • TypeSortMatcher

      public TypeSortMatcher(ElementMatcher<? super TypeDefinition.Sort> matcher)
      Creates a new type sort matcher.
      Parameters:
      matcher - An element matcher to be applied to the type's sort.
  • Method Details