test_class.declarator: builderProvider = new DocumentMKBuilderProvider()
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public DocumentMKBuilderProvider builderProvider = new DocumentMKBuilderProvider();
test_class.type: DocumentMKBuilderProvider
test_class.var_name: builderProvider
test_class.file: oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStateTest.java
test_class.identifier: DocumentNodeStateTest
test_case.body: @Test(expected = IllegalStateException.class)
      public void asBranchRootStateNonBranch() {
          DocumentNodeStore store = builderProvider.newBuilder().getNodeStore();
          DocumentNodeStoreBranch branch = store.createBranch(store.getRoot());
          store.getRoot().asBranchRootState(branch);
      }
test_case.class_method_signature: DocumentNodeStateTest.asBranchRootStateNonBranch()
test_case.full_signature: @Test(expected = IllegalStateException.class) public void asBranchRootStateNonBranch()
test_case.identifier: asBranchRootStateNonBranch
test_case.invocations: getNodeStore newBuilder createBranch getRoot asBranchRootState getRoot
test_case.modifiers: @Test(expected = IllegalStateException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void asBranchRootStateNonBranch()
focal_class.declarator: log = LoggerFactory.getLogger(DocumentNodeState.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(DocumentNodeState.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: NO_CHILDREN = new Children()
focal_class.modifier: public static final
focal_class.original_string: public static final Children NO_CHILDREN = new Children();
focal_class.type: Children
focal_class.var_name: NO_CHILDREN
focal_class.declarator: INITIAL_FETCH_SIZE = 100
focal_class.modifier: static final
focal_class.original_string: static final int INITIAL_FETCH_SIZE = 100;
focal_class.type: int
focal_class.var_name: INITIAL_FETCH_SIZE
focal_class.declarator: MAX_FETCH_SIZE = INITIAL_FETCH_SIZE << 4
focal_class.modifier: static final
focal_class.original_string: static final int MAX_FETCH_SIZE = INITIAL_FETCH_SIZE << 4;
focal_class.type: int
focal_class.var_name: MAX_FETCH_SIZE
focal_class.declarator: path
focal_class.modifier: private final
focal_class.original_string: private final Path path;
focal_class.type: Path
focal_class.var_name: path
focal_class.declarator: lastRevision
focal_class.modifier: private final
focal_class.original_string: private final RevisionVector lastRevision;
focal_class.type: RevisionVector
focal_class.var_name: lastRevision
focal_class.declarator: rootRevision
focal_class.modifier: private final
focal_class.original_string: private final RevisionVector rootRevision;
focal_class.type: RevisionVector
focal_class.var_name: rootRevision
focal_class.declarator: fromExternalChange
focal_class.modifier: private final
focal_class.original_string: private final boolean fromExternalChange;
focal_class.type: boolean
focal_class.var_name: fromExternalChange
focal_class.declarator: properties
focal_class.modifier: private final
focal_class.original_string: private final Map<String, PropertyState> properties;
focal_class.type: Map<String, PropertyState>
focal_class.var_name: properties
focal_class.declarator: hasChildren
focal_class.modifier: private final
focal_class.original_string: private final boolean hasChildren;
focal_class.type: boolean
focal_class.var_name: hasChildren
focal_class.declarator: store
focal_class.modifier: private final
focal_class.original_string: private final DocumentNodeStore store;
focal_class.type: DocumentNodeStore
focal_class.var_name: store
focal_class.declarator: bundlingContext
focal_class.modifier: private final
focal_class.original_string: private final BundlingContext bundlingContext;
focal_class.type: BundlingContext
focal_class.var_name: bundlingContext
focal_class.declarator: cachedSecondaryState
focal_class.modifier: private
focal_class.original_string: private AbstractDocumentNodeState cachedSecondaryState;
focal_class.type: AbstractDocumentNodeState
focal_class.var_name: cachedSecondaryState
focal_class.declarator: memory
focal_class.modifier: private
focal_class.original_string: private int memory;
focal_class.type: int
focal_class.var_name: memory
focal_class.file: oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeState.java
focal_class.identifier: DocumentNodeState
focal_class.interfaces: implements CacheValue
focal_class.class_method_signature: DocumentNodeState.DocumentNodeState(@NotNull DocumentNodeStore store,
                        @NotNull Path path,
                        @NotNull RevisionVector rootRevision)
focal_class.full_signature:   DocumentNodeState(@NotNull DocumentNodeStore store,
                        @NotNull Path path,
                        @NotNull RevisionVector rootRevision)
focal_class.identifier: DocumentNodeState
focal_class.parameters: (@NotNull DocumentNodeStore store,
                        @NotNull Path path,
                        @NotNull RevisionVector rootRevision)
focal_class.signature:  DocumentNodeState(@NotNull DocumentNodeStore store,
                        @NotNull Path path,
                        @NotNull RevisionVector rootRevision)
focal_class.class_method_signature: DocumentNodeState.DocumentNodeState(@NotNull DocumentNodeStore store, @NotNull Path path,
                        @NotNull RevisionVector rootRevision,
                        Iterable<? extends PropertyState> properties,
                        boolean hasChildren,
                        @Nullable RevisionVector lastRevision)
focal_class.full_signature:   DocumentNodeState(@NotNull DocumentNodeStore store, @NotNull Path path,
                        @NotNull RevisionVector rootRevision,
                        Iterable<? extends PropertyState> properties,
                        boolean hasChildren,
                        @Nullable RevisionVector lastRevision)
focal_class.identifier: DocumentNodeState
focal_class.parameters: (@NotNull DocumentNodeStore store, @NotNull Path path,
                        @NotNull RevisionVector rootRevision,
                        Iterable<? extends PropertyState> properties,
                        boolean hasChildren,
                        @Nullable RevisionVector lastRevision)
focal_class.signature:  DocumentNodeState(@NotNull DocumentNodeStore store, @NotNull Path path,
                        @NotNull RevisionVector rootRevision,
                        Iterable<? extends PropertyState> properties,
                        boolean hasChildren,
                        @Nullable RevisionVector lastRevision)
focal_class.class_method_signature: DocumentNodeState.DocumentNodeState(@NotNull DocumentNodeStore store,
                               @NotNull Path path,
                               @NotNull RevisionVector rootRevision,
                               @NotNull Map<String, PropertyState> properties,
                               boolean hasChildren,
                               int memory,
                               @Nullable RevisionVector lastRevision,
                               boolean fromExternalChange)
focal_class.full_signature: public  DocumentNodeState(@NotNull DocumentNodeStore store,
                               @NotNull Path path,
                               @NotNull RevisionVector rootRevision,
                               @NotNull Map<String, PropertyState> properties,
                               boolean hasChildren,
                               int memory,
                               @Nullable RevisionVector lastRevision,
                               boolean fromExternalChange)
focal_class.identifier: DocumentNodeState
focal_class.modifiers: public
focal_class.parameters: (@NotNull DocumentNodeStore store,
                               @NotNull Path path,
                               @NotNull RevisionVector rootRevision,
                               @NotNull Map<String, PropertyState> properties,
                               boolean hasChildren,
                               int memory,
                               @Nullable RevisionVector lastRevision,
                               boolean fromExternalChange)
focal_class.signature:  DocumentNodeState(@NotNull DocumentNodeStore store,
                               @NotNull Path path,
                               @NotNull RevisionVector rootRevision,
                               @NotNull Map<String, PropertyState> properties,
                               boolean hasChildren,
                               int memory,
                               @Nullable RevisionVector lastRevision,
                               boolean fromExternalChange)
focal_class.class_method_signature: DocumentNodeState.DocumentNodeState(@NotNull DocumentNodeStore store,
                                  @NotNull Path path,
                                  @Nullable RevisionVector lastRevision,
                                  @NotNull RevisionVector rootRevision,
                                  boolean fromExternalChange,
                                  BundlingContext bundlingContext,
                                  int memory)
focal_class.full_signature: protected  DocumentNodeState(@NotNull DocumentNodeStore store,
                                  @NotNull Path path,
                                  @Nullable RevisionVector lastRevision,
                                  @NotNull RevisionVector rootRevision,
                                  boolean fromExternalChange,
                                  BundlingContext bundlingContext,
                                  int memory)
focal_class.identifier: DocumentNodeState
focal_class.modifiers: protected
focal_class.parameters: (@NotNull DocumentNodeStore store,
                                  @NotNull Path path,
                                  @Nullable RevisionVector lastRevision,
                                  @NotNull RevisionVector rootRevision,
                                  boolean fromExternalChange,
                                  BundlingContext bundlingContext,
                                  int memory)
focal_class.signature:  DocumentNodeState(@NotNull DocumentNodeStore store,
                                  @NotNull Path path,
                                  @Nullable RevisionVector lastRevision,
                                  @NotNull RevisionVector rootRevision,
                                  boolean fromExternalChange,
                                  BundlingContext bundlingContext,
                                  int memory)
focal_class.class_method_signature: DocumentNodeState.withRootRevision(@NotNull RevisionVector root,
                                                 boolean externalChange)
focal_class.full_signature: @Override public DocumentNodeState withRootRevision(@NotNull RevisionVector root,
                                                 boolean externalChange)
focal_class.identifier: withRootRevision
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull RevisionVector root,
                                                 boolean externalChange)
focal_class.return: DocumentNodeState
focal_class.signature: DocumentNodeState withRootRevision(@NotNull RevisionVector root,
                                                 boolean externalChange)
focal_class.class_method_signature: DocumentNodeState.fromExternalChange()
focal_class.full_signature: @NotNull public DocumentNodeState fromExternalChange()
focal_class.identifier: fromExternalChange
focal_class.modifiers: @NotNull public
focal_class.parameters: ()
focal_class.return: DocumentNodeState
focal_class.signature: DocumentNodeState fromExternalChange()
focal_class.class_method_signature: DocumentNodeState.asBranchRootState(@NotNull DocumentNodeStoreBranch branch)
focal_class.full_signature: @NotNull DocumentNodeState asBranchRootState(@NotNull DocumentNodeStoreBranch branch)
focal_class.identifier: asBranchRootState
focal_class.modifiers: @NotNull
focal_class.parameters: (@NotNull DocumentNodeStoreBranch branch)
focal_class.return: DocumentNodeState
focal_class.signature: DocumentNodeState asBranchRootState(@NotNull DocumentNodeStoreBranch branch)
focal_class.class_method_signature: DocumentNodeState.isFromExternalChange()
focal_class.full_signature: @Override public boolean isFromExternalChange()
focal_class.identifier: isFromExternalChange
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isFromExternalChange()
focal_class.class_method_signature: DocumentNodeState.getRootRevision()
focal_class.full_signature: @NotNull public RevisionVector getRootRevision()
focal_class.identifier: getRootRevision
focal_class.modifiers: @NotNull public
focal_class.parameters: ()
focal_class.return: RevisionVector
focal_class.signature: RevisionVector getRootRevision()
focal_class.class_method_signature: DocumentNodeState.getPath()
focal_class.full_signature: @Override public Path getPath()
focal_class.identifier: getPath
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Path
focal_class.signature: Path getPath()
focal_class.class_method_signature: DocumentNodeState.getLastRevision()
focal_class.full_signature: @Override public RevisionVector getLastRevision()
focal_class.identifier: getLastRevision
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: RevisionVector
focal_class.signature: RevisionVector getLastRevision()
focal_class.class_method_signature: DocumentNodeState.exists()
focal_class.full_signature: @Override public boolean exists()
focal_class.identifier: exists
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean exists()
focal_class.class_method_signature: DocumentNodeState.getProperty(@NotNull String name)
focal_class.full_signature: @Override public PropertyState getProperty(@NotNull String name)
focal_class.identifier: getProperty
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull String name)
focal_class.return: PropertyState
focal_class.signature: PropertyState getProperty(@NotNull String name)
focal_class.class_method_signature: DocumentNodeState.hasProperty(@NotNull String name)
focal_class.full_signature: @Override public boolean hasProperty(@NotNull String name)
focal_class.identifier: hasProperty
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull String name)
focal_class.return: boolean
focal_class.signature: boolean hasProperty(@NotNull String name)
focal_class.class_method_signature: DocumentNodeState.getProperties()
focal_class.full_signature: @NotNull @Override public Iterable<? extends PropertyState> getProperties()
focal_class.identifier: getProperties
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: Iterable<? extends PropertyState>
focal_class.signature: Iterable<? extends PropertyState> getProperties()
focal_class.class_method_signature: DocumentNodeState.hasChildNode(@NotNull String name)
focal_class.full_signature: @Override public boolean hasChildNode(@NotNull String name)
focal_class.identifier: hasChildNode
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull String name)
focal_class.return: boolean
focal_class.signature: boolean hasChildNode(@NotNull String name)
focal_class.class_method_signature: DocumentNodeState.getChildNode(@NotNull String name)
focal_class.full_signature: @NotNull @Override public NodeState getChildNode(@NotNull String name)
focal_class.identifier: getChildNode
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull String name)
focal_class.return: NodeState
focal_class.signature: NodeState getChildNode(@NotNull String name)
focal_class.class_method_signature: DocumentNodeState.getChildNodeCount(long max)
focal_class.full_signature: @Override public long getChildNodeCount(long max)
focal_class.identifier: getChildNodeCount
focal_class.modifiers: @Override public
focal_class.parameters: (long max)
focal_class.return: long
focal_class.signature: long getChildNodeCount(long max)
focal_class.class_method_signature: DocumentNodeState.getPropertyCount()
focal_class.full_signature: @Override public long getPropertyCount()
focal_class.identifier: getPropertyCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getPropertyCount()
focal_class.class_method_signature: DocumentNodeState.getChildNodeEntries()
focal_class.full_signature: @NotNull @Override public Iterable<? extends ChildNodeEntry> getChildNodeEntries()
focal_class.identifier: getChildNodeEntries
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: Iterable<? extends ChildNodeEntry>
focal_class.signature: Iterable<? extends ChildNodeEntry> getChildNodeEntries()
focal_class.class_method_signature: DocumentNodeState.builder()
focal_class.full_signature: @NotNull @Override public NodeBuilder builder()
focal_class.identifier: builder
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: NodeBuilder
focal_class.signature: NodeBuilder builder()
focal_class.class_method_signature: DocumentNodeState.getBundledChildNodeNames()
focal_class.full_signature: public Set<String> getBundledChildNodeNames()
focal_class.identifier: getBundledChildNodeNames
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getBundledChildNodeNames()
focal_class.class_method_signature: DocumentNodeState.hasOnlyBundledChildren()
focal_class.full_signature: public boolean hasOnlyBundledChildren()
focal_class.identifier: hasOnlyBundledChildren
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasOnlyBundledChildren()
focal_class.class_method_signature: DocumentNodeState.getPropertyAsString(String propertyName)
focal_class.full_signature:  String getPropertyAsString(String propertyName)
focal_class.identifier: getPropertyAsString
focal_class.parameters: (String propertyName)
focal_class.return: String
focal_class.signature: String getPropertyAsString(String propertyName)
focal_class.class_method_signature: DocumentNodeState.asString(PropertyState prop)
focal_class.full_signature: private String asString(PropertyState prop)
focal_class.identifier: asString
focal_class.modifiers: private
focal_class.parameters: (PropertyState prop)
focal_class.return: String
focal_class.signature: String asString(PropertyState prop)
focal_class.class_method_signature: DocumentNodeState.getPropertyNames()
focal_class.full_signature:  Set<String> getPropertyNames()
focal_class.identifier: getPropertyNames
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getPropertyNames()
focal_class.class_method_signature: DocumentNodeState.hasNoChildren()
focal_class.full_signature: @Override public boolean hasNoChildren()
focal_class.identifier: hasNoChildren
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasNoChildren()
focal_class.class_method_signature: DocumentNodeState.getNodeStateDiffer()
focal_class.full_signature: @Override protected NodeStateDiffer getNodeStateDiffer()
focal_class.identifier: getNodeStateDiffer
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: NodeStateDiffer
focal_class.signature: NodeStateDiffer getNodeStateDiffer()
focal_class.class_method_signature: DocumentNodeState.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: DocumentNodeState.asOperation(@NotNull Revision revision)
focal_class.full_signature:  UpdateOp asOperation(@NotNull Revision revision)
focal_class.identifier: asOperation
focal_class.parameters: (@NotNull Revision revision)
focal_class.return: UpdateOp
focal_class.signature: UpdateOp asOperation(@NotNull Revision revision)
focal_class.class_method_signature: DocumentNodeState.getMemory()
focal_class.full_signature: @Override public int getMemory()
focal_class.identifier: getMemory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMemory()
focal_class.class_method_signature: DocumentNodeState.getAllBundledNodesStates()
focal_class.full_signature: public Iterable<DocumentNodeState> getAllBundledNodesStates()
focal_class.identifier: getAllBundledNodesStates
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Iterable<DocumentNodeState>
focal_class.signature: Iterable<DocumentNodeState> getAllBundledNodesStates()
focal_class.class_method_signature: DocumentNodeState.getAllBundledProperties()
focal_class.full_signature: public Map<String, String> getAllBundledProperties()
focal_class.identifier: getAllBundledProperties
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getAllBundledProperties()
focal_class.class_method_signature: DocumentNodeState.getChildNodeDoc(String childNodeName)
focal_class.full_signature: @Nullable private AbstractDocumentNodeState getChildNodeDoc(String childNodeName)
focal_class.identifier: getChildNodeDoc
focal_class.modifiers: @Nullable private
focal_class.parameters: (String childNodeName)
focal_class.return: AbstractDocumentNodeState
focal_class.signature: AbstractDocumentNodeState getChildNodeDoc(String childNodeName)
focal_class.class_method_signature: DocumentNodeState.getSecondaryNodeState()
focal_class.full_signature: @Nullable private AbstractDocumentNodeState getSecondaryNodeState()
focal_class.identifier: getSecondaryNodeState
focal_class.modifiers: @Nullable private
focal_class.parameters: ()
focal_class.return: AbstractDocumentNodeState
focal_class.signature: AbstractDocumentNodeState getSecondaryNodeState()
focal_class.class_method_signature: DocumentNodeState.getChildNodeEntries(@NotNull String name,
                                                           int limit)
focal_class.full_signature: @NotNull private Iterable<ChildNodeEntry> getChildNodeEntries(@NotNull String name,
                                                           int limit)
focal_class.identifier: getChildNodeEntries
focal_class.modifiers: @NotNull private
focal_class.parameters: (@NotNull String name,
                                                           int limit)
focal_class.return: Iterable<ChildNodeEntry>
focal_class.signature: Iterable<ChildNodeEntry> getChildNodeEntries(@NotNull String name,
                                                           int limit)
focal_class.class_method_signature: DocumentNodeState.asMap(Iterable<? extends PropertyState> props)
focal_class.full_signature: private static Map<String, PropertyState> asMap(Iterable<? extends PropertyState> props)
focal_class.identifier: asMap
focal_class.modifiers: private static
focal_class.parameters: (Iterable<? extends PropertyState> props)
focal_class.return: Map<String, PropertyState>
focal_class.signature: Map<String, PropertyState> asMap(Iterable<? extends PropertyState> props)
focal_class.class_method_signature: DocumentNodeState.createBundledState(String childNodeName, Matcher child)
focal_class.full_signature: private AbstractDocumentNodeState createBundledState(String childNodeName, Matcher child)
focal_class.identifier: createBundledState
focal_class.modifiers: private
focal_class.parameters: (String childNodeName, Matcher child)
focal_class.return: AbstractDocumentNodeState
focal_class.signature: AbstractDocumentNodeState createBundledState(String childNodeName, Matcher child)
focal_class.class_method_signature: DocumentNodeState.getBundledChildren()
focal_class.full_signature: private Iterator<ChildNodeEntry> getBundledChildren()
focal_class.identifier: getBundledChildren
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Iterator<ChildNodeEntry>
focal_class.signature: Iterator<ChildNodeEntry> getBundledChildren()
focal_class.class_method_signature: DocumentNodeState.createBundlingContext(Map<String, PropertyState> properties,
                                                           boolean hasNonBundledChildren)
focal_class.full_signature: private static BundlingContext createBundlingContext(Map<String, PropertyState> properties,
                                                           boolean hasNonBundledChildren)
focal_class.identifier: createBundlingContext
focal_class.modifiers: private static
focal_class.parameters: (Map<String, PropertyState> properties,
                                                           boolean hasNonBundledChildren)
focal_class.return: BundlingContext
focal_class.signature: BundlingContext createBundlingContext(Map<String, PropertyState> properties,
                                                           boolean hasNonBundledChildren)
focal_class.class_method_signature: DocumentNodeState.hasBundledProperty(Map<String, PropertyState> props, Matcher matcher, String propName)
focal_class.full_signature: private static boolean hasBundledProperty(Map<String, PropertyState> props, Matcher matcher, String propName)
focal_class.identifier: hasBundledProperty
focal_class.modifiers: private static
focal_class.parameters: (Map<String, PropertyState> props, Matcher matcher, String propName)
focal_class.return: boolean
focal_class.signature: boolean hasBundledProperty(Map<String, PropertyState> props, Matcher matcher, String propName)
focal_class.superclass: extends AbstractDocumentNodeState
focal_method.body: @NotNull
      DocumentNodeState asBranchRootState(@NotNull DocumentNodeStoreBranch branch) {
          checkState(path.isRoot());
          checkState(getRootRevision().isBranch());
          return new DocumentBranchRootNodeState(store, branch, path, rootRevision, lastRevision, bundlingContext, memory);
      }
focal_method.class_method_signature: DocumentNodeState.asBranchRootState(@NotNull DocumentNodeStoreBranch branch)
focal_method.full_signature: @NotNull DocumentNodeState asBranchRootState(@NotNull DocumentNodeStoreBranch branch)
focal_method.identifier: asBranchRootState
focal_method.invocations: checkState isRoot checkState isBranch getRootRevision
focal_method.modifiers: @NotNull
focal_method.parameters: (@NotNull DocumentNodeStoreBranch branch)
focal_method.return: DocumentNodeState
focal_method.signature: DocumentNodeState asBranchRootState(@NotNull DocumentNodeStoreBranch branch)