test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/restriction/GlobPatternTest.java
test_class.identifier: GlobPatternTest
test_case.body: @Test
      public void testMatches() {
          assertFalse(GlobPattern.create("/a/b/c/d", "/*").matches());
      }
test_case.class_method_signature: GlobPatternTest.testMatches()
test_case.full_signature: @Test public void testMatches()
test_case.identifier: testMatches
test_case.invocations: assertFalse matches create
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMatches()
focal_class.declarator: WILDCARD_CHAR = '*'
focal_class.modifier: private static final
focal_class.original_string: private static final char WILDCARD_CHAR = '*';
focal_class.type: char
focal_class.var_name: WILDCARD_CHAR
focal_class.declarator: MAX_WILDCARD = 20
focal_class.modifier: private static final
focal_class.original_string: private static final int MAX_WILDCARD = 20;
focal_class.type: int
focal_class.var_name: MAX_WILDCARD
focal_class.declarator: path
focal_class.modifier: private final
focal_class.original_string: private final String path;
focal_class.type: String
focal_class.var_name: path
focal_class.declarator: restriction
focal_class.modifier: private final
focal_class.original_string: private final String restriction;
focal_class.type: String
focal_class.var_name: restriction
focal_class.declarator: pattern
focal_class.modifier: private final
focal_class.original_string: private final Pattern pattern;
focal_class.type: Pattern
focal_class.var_name: pattern
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/restriction/GlobPattern.java
focal_class.identifier: GlobPattern
focal_class.interfaces: implements RestrictionPattern
focal_class.class_method_signature: GlobPattern.GlobPattern(@NotNull String path, @NotNull String restriction)
focal_class.full_signature: private  GlobPattern(@NotNull String path, @NotNull String restriction)
focal_class.identifier: GlobPattern
focal_class.modifiers: private
focal_class.parameters: (@NotNull String path, @NotNull String restriction)
focal_class.signature:  GlobPattern(@NotNull String path, @NotNull String restriction)
focal_class.class_method_signature: GlobPattern.create(@NotNull String nodePath, @NotNull String restrictions)
focal_class.full_signature: static GlobPattern create(@NotNull String nodePath, @NotNull String restrictions)
focal_class.identifier: create
focal_class.modifiers: static
focal_class.parameters: (@NotNull String nodePath, @NotNull String restrictions)
focal_class.return: GlobPattern
focal_class.signature: GlobPattern create(@NotNull String nodePath, @NotNull String restrictions)
focal_class.class_method_signature: GlobPattern.validate(@NotNull String restriction)
focal_class.full_signature: static void validate(@NotNull String restriction)
focal_class.identifier: validate
focal_class.modifiers: static
focal_class.parameters: (@NotNull String restriction)
focal_class.return: void
focal_class.signature: void validate(@NotNull String restriction)
focal_class.class_method_signature: GlobPattern.matches(@NotNull Tree tree, @Nullable PropertyState property)
focal_class.full_signature: @Override public boolean matches(@NotNull Tree tree, @Nullable PropertyState property)
focal_class.identifier: matches
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Tree tree, @Nullable PropertyState property)
focal_class.return: boolean
focal_class.signature: boolean matches(@NotNull Tree tree, @Nullable PropertyState property)
focal_class.class_method_signature: GlobPattern.matches(@NotNull String path)
focal_class.full_signature: @Override public boolean matches(@NotNull String path)
focal_class.identifier: matches
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull String path)
focal_class.return: boolean
focal_class.signature: boolean matches(@NotNull String path)
focal_class.class_method_signature: GlobPattern.matches()
focal_class.full_signature: @Override public boolean matches()
focal_class.identifier: matches
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean matches()
focal_class.class_method_signature: GlobPattern.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: GlobPattern.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: GlobPattern.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_method.body: @Override
      public boolean matches(@NotNull Tree tree, @Nullable PropertyState property) {
          String itemPath = (property == null) ? tree.getPath() : PathUtils.concat(tree.getPath(), property.getName());
          return matches(itemPath);
      }
focal_method.class_method_signature: GlobPattern.matches(@NotNull Tree tree, @Nullable PropertyState property)
focal_method.full_signature: @Override public boolean matches(@NotNull Tree tree, @Nullable PropertyState property)
focal_method.identifier: matches
focal_method.invocations: getPath concat getPath getName matches
focal_method.modifiers: @Override public
focal_method.parameters: (@NotNull Tree tree, @Nullable PropertyState property)
focal_method.return: boolean
focal_method.signature: boolean matches(@NotNull Tree tree, @Nullable PropertyState property)