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.declarator: ns
test_class.modifier: private
test_class.original_string: private DocumentNodeStore ns;
test_class.type: DocumentNodeStore
test_class.var_name: ns
test_class.file: oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/CommitBuilderTest.java
test_class.identifier: CommitBuilderTest
test_case.body: @Test
      public void defaultStartRevisions() {
          RevisionVector head = ns.getHeadRevision();
          CommitBuilder builder = new CommitBuilder(ns, head);
          Commit c = builder.build(ns.newRevision());
          assertEquals(new RevisionVector(), c.getStartRevisions());
      }
test_case.class_method_signature: CommitBuilderTest.defaultStartRevisions()
test_case.full_signature: @Test public void defaultStartRevisions()
test_case.identifier: defaultStartRevisions
test_case.invocations: getHeadRevision build newRevision assertEquals getStartRevisions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void defaultStartRevisions()
focal_class.declarator: PSEUDO_COMMIT_REVISION = new Revision(Long.MIN_VALUE, 0, 0)
focal_class.modifier: static final
focal_class.original_string: static final Revision PSEUDO_COMMIT_REVISION = new Revision(Long.MIN_VALUE, 0, 0);
focal_class.type: Revision
focal_class.var_name: PSEUDO_COMMIT_REVISION
focal_class.declarator: nodeStore
focal_class.modifier: private final
focal_class.original_string: private final DocumentNodeStore nodeStore;
focal_class.type: DocumentNodeStore
focal_class.var_name: nodeStore
focal_class.declarator: revision
focal_class.modifier: private final
focal_class.original_string: private final Revision revision;
focal_class.type: Revision
focal_class.var_name: revision
focal_class.declarator: baseRevision
focal_class.modifier: private final
focal_class.original_string: private final RevisionVector baseRevision;
focal_class.type: RevisionVector
focal_class.var_name: baseRevision
focal_class.declarator: startRevisions = new RevisionVector()
focal_class.modifier: private
focal_class.original_string: private RevisionVector startRevisions = new RevisionVector();
focal_class.type: RevisionVector
focal_class.var_name: startRevisions
focal_class.declarator: operations = new LinkedHashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<Path, UpdateOp> operations = new LinkedHashMap<>();
focal_class.type: Map<Path, UpdateOp>
focal_class.var_name: operations
focal_class.declarator: addedNodes = new HashSet<>()
focal_class.modifier: private final
focal_class.original_string: private final Set<Path> addedNodes = new HashSet<>();
focal_class.type: Set<Path>
focal_class.var_name: addedNodes
focal_class.declarator: removedNodes = new HashSet<>()
focal_class.modifier: private final
focal_class.original_string: private final Set<Path> removedNodes = new HashSet<>();
focal_class.type: Set<Path>
focal_class.var_name: removedNodes
focal_class.declarator: nodesWithBinaries = new HashSet<>()
focal_class.modifier: private final
focal_class.original_string: private final Set<Path> nodesWithBinaries = new HashSet<>();
focal_class.type: Set<Path>
focal_class.var_name: nodesWithBinaries
focal_class.declarator: bundledNodes = new HashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<Path, Path> bundledNodes = new HashMap<>();
focal_class.type: Map<Path, Path>
focal_class.var_name: bundledNodes
focal_class.file: oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/CommitBuilder.java
focal_class.identifier: CommitBuilder
focal_class.class_method_signature: CommitBuilder.CommitBuilder(@NotNull DocumentNodeStore nodeStore,
                    @Nullable RevisionVector baseRevision)
focal_class.full_signature:   CommitBuilder(@NotNull DocumentNodeStore nodeStore,
                    @Nullable RevisionVector baseRevision)
focal_class.identifier: CommitBuilder
focal_class.parameters: (@NotNull DocumentNodeStore nodeStore,
                    @Nullable RevisionVector baseRevision)
focal_class.signature:  CommitBuilder(@NotNull DocumentNodeStore nodeStore,
                    @Nullable RevisionVector baseRevision)
focal_class.class_method_signature: CommitBuilder.CommitBuilder(@NotNull DocumentNodeStore nodeStore,
                    @NotNull Revision revision,
                    @Nullable RevisionVector baseRevision)
focal_class.full_signature:   CommitBuilder(@NotNull DocumentNodeStore nodeStore,
                    @NotNull Revision revision,
                    @Nullable RevisionVector baseRevision)
focal_class.identifier: CommitBuilder
focal_class.parameters: (@NotNull DocumentNodeStore nodeStore,
                    @NotNull Revision revision,
                    @Nullable RevisionVector baseRevision)
focal_class.signature:  CommitBuilder(@NotNull DocumentNodeStore nodeStore,
                    @NotNull Revision revision,
                    @Nullable RevisionVector baseRevision)
focal_class.class_method_signature: CommitBuilder.getRevision()
focal_class.full_signature: @NotNull Revision getRevision()
focal_class.identifier: getRevision
focal_class.modifiers: @NotNull
focal_class.parameters: ()
focal_class.return: Revision
focal_class.signature: Revision getRevision()
focal_class.class_method_signature: CommitBuilder.getBaseRevision()
focal_class.full_signature: @Nullable RevisionVector getBaseRevision()
focal_class.identifier: getBaseRevision
focal_class.modifiers: @Nullable
focal_class.parameters: ()
focal_class.return: RevisionVector
focal_class.signature: RevisionVector getBaseRevision()
focal_class.class_method_signature: CommitBuilder.addNode(@NotNull Path path)
focal_class.full_signature: @NotNull CommitBuilder addNode(@NotNull Path path)
focal_class.identifier: addNode
focal_class.modifiers: @NotNull
focal_class.parameters: (@NotNull Path path)
focal_class.return: CommitBuilder
focal_class.signature: CommitBuilder addNode(@NotNull Path path)
focal_class.class_method_signature: CommitBuilder.addNode(@NotNull DocumentNodeState node)
focal_class.full_signature: @NotNull CommitBuilder addNode(@NotNull DocumentNodeState node)
focal_class.identifier: addNode
focal_class.modifiers: @NotNull
focal_class.parameters: (@NotNull DocumentNodeState node)
focal_class.return: CommitBuilder
focal_class.signature: CommitBuilder addNode(@NotNull DocumentNodeState node)
focal_class.class_method_signature: CommitBuilder.addBundledNode(@NotNull Path path,
                                   @NotNull Path bundlingRootPath)
focal_class.full_signature: @NotNull CommitBuilder addBundledNode(@NotNull Path path,
                                   @NotNull Path bundlingRootPath)
focal_class.identifier: addBundledNode
focal_class.modifiers: @NotNull
focal_class.parameters: (@NotNull Path path,
                                   @NotNull Path bundlingRootPath)
focal_class.return: CommitBuilder
focal_class.signature: CommitBuilder addBundledNode(@NotNull Path path,
                                   @NotNull Path bundlingRootPath)
focal_class.class_method_signature: CommitBuilder.removeNode(@NotNull Path path,
                               @NotNull NodeState state)
focal_class.full_signature: @NotNull CommitBuilder removeNode(@NotNull Path path,
                               @NotNull NodeState state)
focal_class.identifier: removeNode
focal_class.modifiers: @NotNull
focal_class.parameters: (@NotNull Path path,
                               @NotNull NodeState state)
focal_class.return: CommitBuilder
focal_class.signature: CommitBuilder removeNode(@NotNull Path path,
                               @NotNull NodeState state)
focal_class.class_method_signature: CommitBuilder.updateProperty(@NotNull Path path,
                                   @NotNull String propertyName,
                                   @Nullable String value)
focal_class.full_signature: @NotNull CommitBuilder updateProperty(@NotNull Path path,
                                   @NotNull String propertyName,
                                   @Nullable String value)
focal_class.identifier: updateProperty
focal_class.modifiers: @NotNull
focal_class.parameters: (@NotNull Path path,
                                   @NotNull String propertyName,
                                   @Nullable String value)
focal_class.return: CommitBuilder
focal_class.signature: CommitBuilder updateProperty(@NotNull Path path,
                                   @NotNull String propertyName,
                                   @Nullable String value)
focal_class.class_method_signature: CommitBuilder.markNodeHavingBinary(@NotNull Path path)
focal_class.full_signature: @NotNull CommitBuilder markNodeHavingBinary(@NotNull Path path)
focal_class.identifier: markNodeHavingBinary
focal_class.modifiers: @NotNull
focal_class.parameters: (@NotNull Path path)
focal_class.return: CommitBuilder
focal_class.signature: CommitBuilder markNodeHavingBinary(@NotNull Path path)
focal_class.class_method_signature: CommitBuilder.withStartRevisions(@NotNull RevisionVector startRevisions)
focal_class.full_signature: @NotNull CommitBuilder withStartRevisions(@NotNull RevisionVector startRevisions)
focal_class.identifier: withStartRevisions
focal_class.modifiers: @NotNull
focal_class.parameters: (@NotNull RevisionVector startRevisions)
focal_class.return: CommitBuilder
focal_class.signature: CommitBuilder withStartRevisions(@NotNull RevisionVector startRevisions)
focal_class.class_method_signature: CommitBuilder.build()
focal_class.full_signature: @NotNull Commit build()
focal_class.identifier: build
focal_class.modifiers: @NotNull
focal_class.parameters: ()
focal_class.return: Commit
focal_class.signature: Commit build()
focal_class.class_method_signature: CommitBuilder.build(@NotNull Revision revision)
focal_class.full_signature: @NotNull Commit build(@NotNull Revision revision)
focal_class.identifier: build
focal_class.modifiers: @NotNull
focal_class.parameters: (@NotNull Revision revision)
focal_class.return: Commit
focal_class.signature: Commit build(@NotNull Revision revision)
focal_class.class_method_signature: CommitBuilder.getNumOperations()
focal_class.full_signature:  int getNumOperations()
focal_class.identifier: getNumOperations
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getNumOperations()
focal_class.class_method_signature: CommitBuilder.getUpdateOperationForNode(Path path)
focal_class.full_signature: private UpdateOp getUpdateOperationForNode(Path path)
focal_class.identifier: getUpdateOperationForNode
focal_class.modifiers: private
focal_class.parameters: (Path path)
focal_class.return: UpdateOp
focal_class.signature: UpdateOp getUpdateOperationForNode(Path path)
focal_class.class_method_signature: CommitBuilder.createUpdateOp(Path path,
                                             Revision revision,
                                             boolean isBranch)
focal_class.full_signature: private static UpdateOp createUpdateOp(Path path,
                                             Revision revision,
                                             boolean isBranch)
focal_class.identifier: createUpdateOp
focal_class.modifiers: private static
focal_class.parameters: (Path path,
                                             Revision revision,
                                             boolean isBranch)
focal_class.return: UpdateOp
focal_class.signature: UpdateOp createUpdateOp(Path path,
                                             Revision revision,
                                             boolean isBranch)
focal_class.class_method_signature: CommitBuilder.isBranchCommit()
focal_class.full_signature: private boolean isBranchCommit()
focal_class.identifier: isBranchCommit
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isBranchCommit()
focal_class.class_method_signature: CommitBuilder.rewrite(UpdateOp up, Revision from, Revision to)
focal_class.full_signature: private static UpdateOp rewrite(UpdateOp up, Revision from, Revision to)
focal_class.identifier: rewrite
focal_class.modifiers: private static
focal_class.parameters: (UpdateOp up, Revision from, Revision to)
focal_class.return: UpdateOp
focal_class.signature: UpdateOp rewrite(UpdateOp up, Revision from, Revision to)
focal_method.body: @NotNull
      Commit build() {
          if (PSEUDO_COMMIT_REVISION.equals(revision)) {
              String msg = "Cannot build a commit with a pseudo commit revision";
              throw new IllegalStateException(msg);
          }
          return new Commit(nodeStore, revision, baseRevision, startRevisions,
                  operations, addedNodes, removedNodes, nodesWithBinaries,
                  bundledNodes);
      }
focal_method.class_method_signature: CommitBuilder.build()
focal_method.full_signature: @NotNull Commit build()
focal_method.identifier: build
focal_method.invocations: equals
focal_method.modifiers: @NotNull
focal_method.parameters: ()
focal_method.return: Commit
focal_method.signature: Commit build()