Class ErasureMatcher<T extends TypeDefinition>

    • Constructor Detail

      • ErasureMatcher

        public ErasureMatcher​(ElementMatcher<? super TypeDescription> matcher)
        Creates a new raw type matcher.
        Parameters:
        matcher - The matcher to apply to the raw type.
    • Method Detail

      • matches

        public boolean matches​(T target)
        Matches a target against this element matcher.
        Parameters:
        target - The instance to be matched.
        Returns:
        true if the given element is matched by this matcher or false otherwise.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object