public static <T extends NamedElement> ElementMatcher.Junction<T> nameStartsWithIgnoreCase(String prefix) {
        return new NameMatcher<T>(new StringMatcher(prefix, StringMatcher.Mode.STARTS_WITH_IGNORE_CASE));
    }
public static < T extends NamedElement > ElementMatcher . Junction < T > nameStartsWithIgnoreCase ( String prefix ) { return new NameMatcher < T > ( new StringMatcher ( prefix , StringMatcher . Mode . STARTS_WITH_IGNORE_CASE ) ) ; }
Matches a {@link NamedElement} for its name's prefix. The name's
capitalization is ignored.

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