@Test public void testOtherSeparators() { assertThat(hashMatcher.matches("my/dir/file#class#*", "my/dir/file#class#method"), is(true)); assertThat(hashMatcher.matches("my/dir/file#**", "my/dir/file#class#method"), is(true)); assertThat(hashMatcher.matches("my/dir/file#**", "my/dir/file#class#method"), is(true)); assertThat(hashMatcher.matches("my/dir/file*", "my/dir/file#class#method"), is(false)); assertThat(hashMatcher.matches("my/dir/file**", "my/dir/file#class#method"), is(false)); assertThat(hashMatcher.matches("my/dir/file.**", "my/dir/file#class#method"), 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);  }