@Test public void testMultipleWildcards() { assertThat(qavNameMatcher.matches("com.my.*.module.**", "com.my.project.module.a.A1"), is(true)); assertThat(qavNameMatcher.matches("com.my.*.module.a.*", "com.my.project.module.a.A1"), is(true)); assertThat(qavNameMatcher.matches("com.my.*.module.**", "com.my.project.module.a.A1"), is(true)); assertThat(qavNameMatcher.matches("com.my.*.module.*", "com.my.p2.subprj.module.a.A1"), is(false)); assertThat(qavNameMatcher.matches("com.my.**.module.**", "com.my.p2.subprj.module.a.A1"), 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);  }