test_class.file: oak-run/src/test/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/ChildNodeStateProviderTest.java
test_class.identifier: ChildNodeStateProviderTest
test_case.body: @Test
      public void allPreferredReadable() {
          Set<String> preferred = ImmutableSet.of("x", "y");
          CountingIterable<NodeStateEntry> citr = createList(preferred, asList("/a", "/a/x", "/a/x/1", "/a/x/2", "/a/x/3",
                  "/a/y"));
          ChildNodeStateProvider p = new ChildNodeStateProvider(citr, "/a", preferred);
  
          assertTrue(p.hasChildNode("x"));
          assertTrue(p.hasChildNode("y"));
      }
test_case.class_method_signature: ChildNodeStateProviderTest.allPreferredReadable()
test_case.full_signature: @Test public void allPreferredReadable()
test_case.identifier: allPreferredReadable
test_case.invocations: of createList asList assertTrue hasChildNode assertTrue hasChildNode
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void allPreferredReadable()
focal_class.declarator: entries
focal_class.modifier: private final
focal_class.original_string: private final Iterable<NodeStateEntry> entries;
focal_class.type: Iterable<NodeStateEntry>
focal_class.var_name: entries
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: preferredPathElements
focal_class.modifier: private final
focal_class.original_string: private final Set<String> preferredPathElements;
focal_class.type: Set<String>
focal_class.var_name: preferredPathElements
focal_class.file: oak-run/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/ChildNodeStateProvider.java
focal_class.identifier: ChildNodeStateProvider
focal_class.class_method_signature: ChildNodeStateProvider.ChildNodeStateProvider(Iterable<NodeStateEntry> entries, String path, Set<String> preferredPathElements)
focal_class.full_signature: public  ChildNodeStateProvider(Iterable<NodeStateEntry> entries, String path, Set<String> preferredPathElements)
focal_class.identifier: ChildNodeStateProvider
focal_class.modifiers: public
focal_class.parameters: (Iterable<NodeStateEntry> entries, String path, Set<String> preferredPathElements)
focal_class.signature:  ChildNodeStateProvider(Iterable<NodeStateEntry> entries, String path, Set<String> preferredPathElements)
focal_class.class_method_signature: ChildNodeStateProvider.hasChildNode(@NotNull String name)
focal_class.full_signature: public boolean hasChildNode(@NotNull String name)
focal_class.identifier: hasChildNode
focal_class.modifiers: public
focal_class.parameters: (@NotNull String name)
focal_class.return: boolean
focal_class.signature: boolean hasChildNode(@NotNull String name)
focal_class.class_method_signature: ChildNodeStateProvider.getChildNode(@NotNull String name)
focal_class.full_signature: @NotNull public NodeState getChildNode(@NotNull String name)
focal_class.identifier: getChildNode
focal_class.modifiers: @NotNull public
focal_class.parameters: (@NotNull String name)
focal_class.return: NodeState
focal_class.signature: NodeState getChildNode(@NotNull String name)
focal_class.class_method_signature: ChildNodeStateProvider.getChildNodeCount(long max)
focal_class.full_signature: public long getChildNodeCount(long max)
focal_class.identifier: getChildNodeCount
focal_class.modifiers: public
focal_class.parameters: (long max)
focal_class.return: long
focal_class.signature: long getChildNodeCount(long max)
focal_class.class_method_signature: ChildNodeStateProvider.getChildNodeNames()
focal_class.full_signature: public Iterable<String> getChildNodeNames()
focal_class.identifier: getChildNodeNames
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Iterable<String>
focal_class.signature: Iterable<String> getChildNodeNames()
focal_class.class_method_signature: ChildNodeStateProvider.getChildNodeEntries()
focal_class.full_signature: @NotNull public Iterable<? extends ChildNodeEntry> getChildNodeEntries()
focal_class.identifier: getChildNodeEntries
focal_class.modifiers: @NotNull public
focal_class.parameters: ()
focal_class.return: Iterable<? extends ChildNodeEntry>
focal_class.signature: Iterable<? extends ChildNodeEntry> getChildNodeEntries()
focal_class.class_method_signature: ChildNodeStateProvider.children()
focal_class.full_signature:  Iterator<NodeStateEntry> children()
focal_class.identifier: children
focal_class.parameters: ()
focal_class.return: Iterator<NodeStateEntry>
focal_class.signature: Iterator<NodeStateEntry> children()
focal_class.class_method_signature: ChildNodeStateProvider.children(boolean preferred)
focal_class.full_signature:  Iterator<NodeStateEntry> children(boolean preferred)
focal_class.identifier: children
focal_class.parameters: (boolean preferred)
focal_class.return: Iterator<NodeStateEntry>
focal_class.signature: Iterator<NodeStateEntry> children(boolean preferred)
focal_class.class_method_signature: ChildNodeStateProvider.name(NodeStateEntry p)
focal_class.full_signature: private static String name(NodeStateEntry p)
focal_class.identifier: name
focal_class.modifiers: private static
focal_class.parameters: (NodeStateEntry p)
focal_class.return: String
focal_class.signature: String name(NodeStateEntry p)
focal_class.class_method_signature: ChildNodeStateProvider.isImmediateChild(String childPath)
focal_class.full_signature: private boolean isImmediateChild(String childPath)
focal_class.identifier: isImmediateChild
focal_class.modifiers: private
focal_class.parameters: (String childPath)
focal_class.return: boolean
focal_class.signature: boolean isImmediateChild(String childPath)
focal_method.body: public boolean hasChildNode(@NotNull String name) {
          return getChildNode(name).exists();
      }
focal_method.class_method_signature: ChildNodeStateProvider.hasChildNode(@NotNull String name)
focal_method.full_signature: public boolean hasChildNode(@NotNull String name)
focal_method.identifier: hasChildNode
focal_method.invocations: exists getChildNode
focal_method.modifiers: public
focal_method.parameters: (@NotNull String name)
focal_method.return: boolean
focal_method.signature: boolean hasChildNode(@NotNull String name)