@Test public void testFinalPackage() { assertThat(qavNameMatcher.matches("org.slf4j.*", "org.slf4j.Logger"), is(true)); assertThat(qavNameMatcher.matches("org.slf4j.*", "org.slf4j"), is(false)); assertThat(qavNameMatcher.matches("org.slf4j.**", "org.slf4j"), is(true)); assertThat(qavNameMatcher.matches("org.slf4j**", "org.slf4j"), is(true)); assertThat(qavNameMatcher.matches("org.slf4j**", "org.slf4jOrSo"), is(true)); assertThat(qavNameMatcher.matches("org.slf4j**", "org.slf4j.Logger"), is(false)); }
public boolean matches(String pattern, String name) { checkNotNull(pattern, "pattern"); checkNotNull(name, "name"); return antPathMatcher.match(pattern, name); }
QavNameMatcher { public boolean matches(String pattern, String name) { checkNotNull(pattern, "pattern"); checkNotNull(name, "name"); return antPathMatcher.match(pattern, name); } }
QavNameMatcher { public boolean matches(String pattern, String name) { checkNotNull(pattern, "pattern"); checkNotNull(name, "name"); return antPathMatcher.match(pattern, name); } QavNameMatcher();  QavNameMatcher(String pathSeparator); }
QavNameMatcher { public boolean matches(String pattern, String name) { checkNotNull(pattern, "pattern"); checkNotNull(name, "name"); return antPathMatcher.match(pattern, name); } QavNameMatcher();  QavNameMatcher(String pathSeparator); boolean matches(String pattern, String name); }
QavNameMatcher { public boolean matches(String pattern, String name) { checkNotNull(pattern, "pattern"); checkNotNull(name, "name"); return antPathMatcher.match(pattern, name); } QavNameMatcher();  QavNameMatcher(String pathSeparator); boolean matches(String pattern, String name);  }