test_class.file: oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/bundlor/IncludeTest.java
test_class.identifier: IncludeTest
test_case.body: @Test
      public void depth() throws Exception{
          Include i0 = new Include("x/*");
          assertEquals(0, i0.createMatcher().depth());
          assertEquals(1, i0.createMatcher().next("x").depth());
          assertEquals(2, i0.createMatcher().next("x").next("y").depth());
  
          // x/y/z would not match so depth should be 0
          assertEquals(0, i0.createMatcher().next("x").next("y").next("z").depth());
  
          Include i2 = new Include("x/y/**");
          assertEquals(0, i2.createMatcher().depth());
          assertEquals(1, i2.createMatcher().next("x").depth());
          assertEquals(2, i2.createMatcher().next("x").next("y").depth());
          assertEquals(3, i2.createMatcher().next("x").next("y").next("z").depth());
      }
test_case.class_method_signature: IncludeTest.depth()
test_case.full_signature: @Test public void depth()
test_case.identifier: depth
test_case.invocations: assertEquals depth createMatcher assertEquals depth next createMatcher assertEquals depth next next createMatcher assertEquals depth next next next createMatcher assertEquals depth createMatcher assertEquals depth next createMatcher assertEquals depth next next createMatcher assertEquals depth next next next createMatcher
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void depth()
focal_class.declarator: STAR = "*"
focal_class.modifier: private static final
focal_class.original_string: private static final String STAR = "*";
focal_class.type: String
focal_class.var_name: STAR
focal_class.declarator: STAR_STAR = "**"
focal_class.modifier: private static final
focal_class.original_string: private static final String STAR_STAR = "**";
focal_class.type: String
focal_class.var_name: STAR_STAR
focal_class.declarator: elements
focal_class.modifier: private final
focal_class.original_string: private final String[] elements;
focal_class.type: String[]
focal_class.var_name: elements
focal_class.declarator: directive
focal_class.modifier: private final
focal_class.original_string: private final Directive directive;
focal_class.type: Directive
focal_class.var_name: directive
focal_class.declarator: pattern
focal_class.modifier: private final
focal_class.original_string: private final String pattern;
focal_class.type: String
focal_class.var_name: pattern
focal_class.file: oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/bundlor/Include.java
focal_class.identifier: Include
focal_class.class_method_signature: Include.Include(String pattern)
focal_class.full_signature: public  Include(String pattern)
focal_class.identifier: Include
focal_class.modifiers: public
focal_class.parameters: (String pattern)
focal_class.signature:  Include(String pattern)
focal_class.class_method_signature: Include.match(String relativePath)
focal_class.full_signature: public boolean match(String relativePath)
focal_class.identifier: match
focal_class.modifiers: public
focal_class.parameters: (String relativePath)
focal_class.return: boolean
focal_class.signature: boolean match(String relativePath)
focal_class.class_method_signature: Include.getPattern()
focal_class.full_signature: public String getPattern()
focal_class.identifier: getPattern
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPattern()
focal_class.class_method_signature: Include.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: Include.createMatcher()
focal_class.full_signature: public Matcher createMatcher()
focal_class.identifier: createMatcher
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Matcher
focal_class.signature: Matcher createMatcher()
focal_class.class_method_signature: Include.getDirective()
focal_class.full_signature:  Directive getDirective()
focal_class.identifier: getDirective
focal_class.parameters: ()
focal_class.return: Directive
focal_class.signature: Directive getDirective()
focal_class.class_method_signature: Include.match(String nodeName, int depth)
focal_class.full_signature: public boolean match(String nodeName, int depth)
focal_class.identifier: match
focal_class.modifiers: public
focal_class.parameters: (String nodeName, int depth)
focal_class.return: boolean
focal_class.signature: boolean match(String nodeName, int depth)
focal_class.class_method_signature: Include.matchAny(int depth)
focal_class.full_signature: public boolean matchAny(int depth)
focal_class.identifier: matchAny
focal_class.modifiers: public
focal_class.parameters: (int depth)
focal_class.return: boolean
focal_class.signature: boolean matchAny(int depth)
focal_class.class_method_signature: Include.size()
focal_class.full_signature: public int size()
focal_class.identifier: size
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_method.body: public Matcher createMatcher() {
          return new IncludeMatcher(this);
      }
focal_method.class_method_signature: Include.createMatcher()
focal_method.full_signature: public Matcher createMatcher()
focal_method.identifier: createMatcher
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: Matcher
focal_method.signature: Matcher createMatcher()