test_class.file: server-core/src/test/java/io/onedev/server/util/match/WildcardUtilsTest.java
test_class.identifier: WildcardUtilsTest
test_case.body: @Test
  	public void shouldMatchPath() {
  		assertTrue(matchPath("**//*.java", "com/example/Test.java"));
  		assertFalse(matchPath("**/*.java", "com/example/test.c"));
  		assertFalse(matchPath("com/*.java", "com/example/Test.java"));
  		assertTrue(matchPath("com/**//*.java", "com/example/Test.java"));
  		assertTrue(matchPath("com/*.java", "com/Test.java"));
  		assertTrue(matchPath("src///**/*.java", "src/com/example/Test.java"));
  		assertFalse(matchPath("/src/**/*.java", "src/com/example/Test.java"));
  		assertFalse(matchPath("src/**////*.java", "resource/com/example/Test.java"));
  	}
test_case.class_method_signature: WildcardUtilsTest.shouldMatchPath()
test_case.full_signature: @Test public void shouldMatchPath()
test_case.identifier: shouldMatchPath
test_case.invocations: assertTrue matchPath assertFalse matchPath assertFalse matchPath assertTrue matchPath assertTrue matchPath assertTrue matchPath assertFalse matchPath assertFalse matchPath
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldMatchPath()
focal_class.declarator: PATH_MATCHER = new PathMatcher()
focal_class.modifier: private static final
focal_class.original_string: private static final Matcher PATH_MATCHER = new PathMatcher();
focal_class.type: Matcher
focal_class.var_name: PATH_MATCHER
focal_class.declarator: STRING_MATCHER = new StringMatcher()
focal_class.modifier: private static final
focal_class.original_string: private static final Matcher STRING_MATCHER = new StringMatcher();
focal_class.type: Matcher
focal_class.var_name: STRING_MATCHER
focal_class.file: server-core/src/main/java/io/onedev/server/util/match/WildcardUtils.java
focal_class.identifier: WildcardUtils
focal_class.class_method_signature: WildcardUtils.matchPath(String pattern, String path)
focal_class.full_signature: public static boolean matchPath(String pattern, String path)
focal_class.identifier: matchPath
focal_class.modifiers: public static
focal_class.parameters: (String pattern, String path)
focal_class.return: boolean
focal_class.signature: boolean matchPath(String pattern, String path)
focal_class.class_method_signature: WildcardUtils.matchString(String pattern, String str)
focal_class.full_signature: public static boolean matchString(String pattern, String str)
focal_class.identifier: matchString
focal_class.modifiers: public static
focal_class.parameters: (String pattern, String str)
focal_class.return: boolean
focal_class.signature: boolean matchString(String pattern, String str)
focal_class.class_method_signature: WildcardUtils.indexOf(String str, String substr, int index)
focal_class.full_signature: private static int indexOf(String str, String substr, int index)
focal_class.identifier: indexOf
focal_class.modifiers: private static
focal_class.parameters: (String str, String substr, int index)
focal_class.return: int
focal_class.signature: int indexOf(String str, String substr, int index)
focal_class.class_method_signature: WildcardUtils.getLiteralRanges(String pattern)
focal_class.full_signature: public static List<LinearRange> getLiteralRanges(String pattern)
focal_class.identifier: getLiteralRanges
focal_class.modifiers: public static
focal_class.parameters: (String pattern)
focal_class.return: List<LinearRange>
focal_class.signature: List<LinearRange> getLiteralRanges(String pattern)
focal_class.class_method_signature: WildcardUtils.applyPattern(String pattern, String str, boolean caseSensitive)
focal_class.full_signature: @Nullable public static PatternApplied applyPattern(String pattern, String str, boolean caseSensitive)
focal_class.identifier: applyPattern
focal_class.modifiers: @Nullable public static
focal_class.parameters: (String pattern, String str, boolean caseSensitive)
focal_class.return: PatternApplied
focal_class.signature: PatternApplied applyPattern(String pattern, String str, boolean caseSensitive)
focal_class.class_method_signature: WildcardUtils.rangeOfMatch(String pattern, String str)
focal_class.full_signature: @Nullable public static LinearRange rangeOfMatch(String pattern, String str)
focal_class.identifier: rangeOfMatch
focal_class.modifiers: @Nullable public static
focal_class.parameters: (String pattern, String str)
focal_class.return: LinearRange
focal_class.signature: LinearRange rangeOfMatch(String pattern, String str)
focal_method.body: public static boolean matchPath(String pattern, String path) {
      	return PATH_MATCHER.matches(pattern, path);
      }
focal_method.class_method_signature: WildcardUtils.matchPath(String pattern, String path)
focal_method.full_signature: public static boolean matchPath(String pattern, String path)
focal_method.identifier: matchPath
focal_method.invocations: matches
focal_method.modifiers: public static
focal_method.parameters: (String pattern, String path)
focal_method.return: boolean
focal_method.signature: boolean matchPath(String pattern, String path)