public static <T extends NamedElement> ElementMatcher.Junction<T> nameEndsWith(String suffix) {
        return new NameMatcher<T>(new StringMatcher(suffix, StringMatcher.Mode.ENDS_WITH));
    }
public static < T extends NamedElement > ElementMatcher . Junction < T > nameEndsWith ( String suffix ) { return new NameMatcher < T > ( new StringMatcher ( suffix , StringMatcher . Mode . ENDS_WITH ) ) ; }
Matches a {@link NamedElement} for its name's suffix.

@param suffix The expected name's suffix.
@param <T>    The type of the matched object.
@return An element matcher for a named element's name's suffix.