@Test public void testAnyPackages() { assertThat(qavNameMatcher.matches("com.my.**.module.Clazz", "com.my.p2.subprj.module.Clazz"), is(true)); assertThat(qavNameMatcher.matches("com.my.**.module.Clazz", "com.my.p2.subprj.module.impl.Clazz"), is(false)); assertThat(qavNameMatcher.matches("**3**", "3rdParty"), is(true)); assertThat(qavNameMatcher.matches("**.*3**", "org.apache.commons.lang3"), is(true)); assertThat(qavNameMatcher.matches("**.*3.**", "org.apache.commons.lang3.ArrayUtils"), is(true)); assertThat(qavNameMatcher.matches("**", "org.apache.commons.lang3.ArrayUtils"), is(true)); }
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);  }