test_class.declarator: base
test_class.modifier: private final
test_class.original_string: private final NodeState base;
test_class.type: NodeState
test_class.var_name: base
test_class.file: oak-store-spi/src/test/java/org/apache/jackrabbit/oak/spi/state/AbstractRebaseDiffTest.java
test_class.identifier: AbstractRebaseDiffTest
test_case.body: @Test
      public void addExistingNode() {
          NodeBuilder headBuilder = base.builder();
          headBuilder.setChildNode("n");
          headBuilder.setChildNode("m").setChildNode("m1");
          headBuilder.getChildNode("m").setProperty("a", 1);
          headBuilder.getChildNode("m").setProperty("p", 1);
          headBuilder.getChildNode("m").setChildNode("mm").setChildNode("mm1");
          NodeState head = headBuilder.getNodeState();
  
          NodeBuilder branchBuilder = base.builder();
          branchBuilder.setChildNode("n");
          branchBuilder.setChildNode("m").setChildNode("m2");
          branchBuilder.getChildNode("m").setProperty("a", 1);
          branchBuilder.getChildNode("m").setProperty("q", 1);
          branchBuilder.getChildNode("m").setChildNode("mm").setChildNode("mm2");
          NodeState branch = branchBuilder.getNodeState();
  
          NodeBuilder builder = head.builder();
          RebaseDiff rebaseDiff = new RebaseDiff(builder);
          branch.compareAgainstBaseState(base, rebaseDiff);
  
          NodeBuilder expectedBuilder = base.builder();
          expectedBuilder.setChildNode("n");
          expectedBuilder.setChildNode("n");
          expectedBuilder.setChildNode("m").setChildNode("m1");
          expectedBuilder.getChildNode("m").setChildNode("m2");
          expectedBuilder.getChildNode("m").setProperty("a", 1);
          expectedBuilder.getChildNode("m").setProperty("p", 1);
          expectedBuilder.getChildNode("m").setProperty("q", 1);
          expectedBuilder.getChildNode("m").setChildNode("mm").setChildNode("mm1");
          expectedBuilder.getChildNode("m").getChildNode("mm").setChildNode("mm2");
  
          assertEquals(expectedBuilder.getNodeState(), builder.getNodeState());
      }
test_case.class_method_signature: AbstractRebaseDiffTest.addExistingNode()
test_case.full_signature: @Test public void addExistingNode()
test_case.identifier: addExistingNode
test_case.invocations: builder setChildNode setChildNode setChildNode setProperty getChildNode setProperty getChildNode setChildNode setChildNode getChildNode getNodeState builder setChildNode setChildNode setChildNode setProperty getChildNode setProperty getChildNode setChildNode setChildNode getChildNode getNodeState builder compareAgainstBaseState builder setChildNode setChildNode setChildNode setChildNode setChildNode getChildNode setProperty getChildNode setProperty getChildNode setProperty getChildNode setChildNode setChildNode getChildNode setChildNode getChildNode getChildNode assertEquals getNodeState getNodeState
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void addExistingNode()
focal_class.declarator: builder
focal_class.modifier: private final
focal_class.original_string: private final NodeBuilder builder;
focal_class.type: NodeBuilder
focal_class.var_name: builder
focal_class.file: oak-store-spi/src/main/java/org/apache/jackrabbit/oak/spi/state/AbstractRebaseDiff.java
focal_class.identifier: AbstractRebaseDiff
focal_class.interfaces: implements NodeStateDiff
focal_class.class_method_signature: AbstractRebaseDiff.AbstractRebaseDiff(NodeBuilder builder)
focal_class.full_signature: protected  AbstractRebaseDiff(NodeBuilder builder)
focal_class.identifier: AbstractRebaseDiff
focal_class.modifiers: protected
focal_class.parameters: (NodeBuilder builder)
focal_class.signature:  AbstractRebaseDiff(NodeBuilder builder)
focal_class.class_method_signature: AbstractRebaseDiff.createDiff(NodeBuilder builder, String name)
focal_class.full_signature: protected abstract AbstractRebaseDiff createDiff(NodeBuilder builder, String name)
focal_class.identifier: createDiff
focal_class.modifiers: protected abstract
focal_class.parameters: (NodeBuilder builder, String name)
focal_class.return: AbstractRebaseDiff
focal_class.signature: AbstractRebaseDiff createDiff(NodeBuilder builder, String name)
focal_class.class_method_signature: AbstractRebaseDiff.addExistingProperty(NodeBuilder builder, PropertyState before, PropertyState after)
focal_class.full_signature: protected abstract void addExistingProperty(NodeBuilder builder, PropertyState before, PropertyState after)
focal_class.identifier: addExistingProperty
focal_class.modifiers: protected abstract
focal_class.parameters: (NodeBuilder builder, PropertyState before, PropertyState after)
focal_class.return: void
focal_class.signature: void addExistingProperty(NodeBuilder builder, PropertyState before, PropertyState after)
focal_class.class_method_signature: AbstractRebaseDiff.changeDeletedProperty(NodeBuilder builder, PropertyState after, PropertyState base)
focal_class.full_signature: protected abstract void changeDeletedProperty(NodeBuilder builder, PropertyState after, PropertyState base)
focal_class.identifier: changeDeletedProperty
focal_class.modifiers: protected abstract
focal_class.parameters: (NodeBuilder builder, PropertyState after, PropertyState base)
focal_class.return: void
focal_class.signature: void changeDeletedProperty(NodeBuilder builder, PropertyState after, PropertyState base)
focal_class.class_method_signature: AbstractRebaseDiff.changeChangedProperty(NodeBuilder builder, PropertyState before, PropertyState after)
focal_class.full_signature: protected abstract void changeChangedProperty(NodeBuilder builder, PropertyState before, PropertyState after)
focal_class.identifier: changeChangedProperty
focal_class.modifiers: protected abstract
focal_class.parameters: (NodeBuilder builder, PropertyState before, PropertyState after)
focal_class.return: void
focal_class.signature: void changeChangedProperty(NodeBuilder builder, PropertyState before, PropertyState after)
focal_class.class_method_signature: AbstractRebaseDiff.deleteDeletedProperty(NodeBuilder builder, PropertyState before)
focal_class.full_signature: protected abstract void deleteDeletedProperty(NodeBuilder builder, PropertyState before)
focal_class.identifier: deleteDeletedProperty
focal_class.modifiers: protected abstract
focal_class.parameters: (NodeBuilder builder, PropertyState before)
focal_class.return: void
focal_class.signature: void deleteDeletedProperty(NodeBuilder builder, PropertyState before)
focal_class.class_method_signature: AbstractRebaseDiff.deleteChangedProperty(NodeBuilder builder, PropertyState before)
focal_class.full_signature: protected abstract void deleteChangedProperty(NodeBuilder builder, PropertyState before)
focal_class.identifier: deleteChangedProperty
focal_class.modifiers: protected abstract
focal_class.parameters: (NodeBuilder builder, PropertyState before)
focal_class.return: void
focal_class.signature: void deleteChangedProperty(NodeBuilder builder, PropertyState before)
focal_class.class_method_signature: AbstractRebaseDiff.addExistingNode(NodeBuilder builder, String name, NodeState before, NodeState after)
focal_class.full_signature: protected abstract void addExistingNode(NodeBuilder builder, String name, NodeState before, NodeState after)
focal_class.identifier: addExistingNode
focal_class.modifiers: protected abstract
focal_class.parameters: (NodeBuilder builder, String name, NodeState before, NodeState after)
focal_class.return: void
focal_class.signature: void addExistingNode(NodeBuilder builder, String name, NodeState before, NodeState after)
focal_class.class_method_signature: AbstractRebaseDiff.changeDeletedNode(NodeBuilder builder, String name, NodeState after, NodeState base)
focal_class.full_signature: protected abstract void changeDeletedNode(NodeBuilder builder, String name, NodeState after, NodeState base)
focal_class.identifier: changeDeletedNode
focal_class.modifiers: protected abstract
focal_class.parameters: (NodeBuilder builder, String name, NodeState after, NodeState base)
focal_class.return: void
focal_class.signature: void changeDeletedNode(NodeBuilder builder, String name, NodeState after, NodeState base)
focal_class.class_method_signature: AbstractRebaseDiff.deleteDeletedNode(NodeBuilder builder, String name, NodeState before)
focal_class.full_signature: protected abstract void deleteDeletedNode(NodeBuilder builder, String name, NodeState before)
focal_class.identifier: deleteDeletedNode
focal_class.modifiers: protected abstract
focal_class.parameters: (NodeBuilder builder, String name, NodeState before)
focal_class.return: void
focal_class.signature: void deleteDeletedNode(NodeBuilder builder, String name, NodeState before)
focal_class.class_method_signature: AbstractRebaseDiff.deleteChangedNode(NodeBuilder builder, String name, NodeState before)
focal_class.full_signature: protected abstract void deleteChangedNode(NodeBuilder builder, String name, NodeState before)
focal_class.identifier: deleteChangedNode
focal_class.modifiers: protected abstract
focal_class.parameters: (NodeBuilder builder, String name, NodeState before)
focal_class.return: void
focal_class.signature: void deleteChangedNode(NodeBuilder builder, String name, NodeState before)
focal_class.class_method_signature: AbstractRebaseDiff.propertyAdded(PropertyState after)
focal_class.full_signature: @Override public boolean propertyAdded(PropertyState after)
focal_class.identifier: propertyAdded
focal_class.modifiers: @Override public
focal_class.parameters: (PropertyState after)
focal_class.return: boolean
focal_class.signature: boolean propertyAdded(PropertyState after)
focal_class.class_method_signature: AbstractRebaseDiff.propertyChanged(PropertyState before, PropertyState after)
focal_class.full_signature: @Override public boolean propertyChanged(PropertyState before, PropertyState after)
focal_class.identifier: propertyChanged
focal_class.modifiers: @Override public
focal_class.parameters: (PropertyState before, PropertyState after)
focal_class.return: boolean
focal_class.signature: boolean propertyChanged(PropertyState before, PropertyState after)
focal_class.class_method_signature: AbstractRebaseDiff.propertyDeleted(PropertyState before)
focal_class.full_signature: @Override public boolean propertyDeleted(PropertyState before)
focal_class.identifier: propertyDeleted
focal_class.modifiers: @Override public
focal_class.parameters: (PropertyState before)
focal_class.return: boolean
focal_class.signature: boolean propertyDeleted(PropertyState before)
focal_class.class_method_signature: AbstractRebaseDiff.childNodeAdded(String name, NodeState after)
focal_class.full_signature: @Override public boolean childNodeAdded(String name, NodeState after)
focal_class.identifier: childNodeAdded
focal_class.modifiers: @Override public
focal_class.parameters: (String name, NodeState after)
focal_class.return: boolean
focal_class.signature: boolean childNodeAdded(String name, NodeState after)
focal_class.class_method_signature: AbstractRebaseDiff.childNodeChanged(String name, NodeState before, NodeState after)
focal_class.full_signature: @Override public boolean childNodeChanged(String name, NodeState before, NodeState after)
focal_class.identifier: childNodeChanged
focal_class.modifiers: @Override public
focal_class.parameters: (String name, NodeState before, NodeState after)
focal_class.return: boolean
focal_class.signature: boolean childNodeChanged(String name, NodeState before, NodeState after)
focal_class.class_method_signature: AbstractRebaseDiff.childNodeDeleted(String name, NodeState before)
focal_class.full_signature: @Override public boolean childNodeDeleted(String name, NodeState before)
focal_class.identifier: childNodeDeleted
focal_class.modifiers: @Override public
focal_class.parameters: (String name, NodeState before)
focal_class.return: boolean
focal_class.signature: boolean childNodeDeleted(String name, NodeState before)
focal_method.body: protected abstract void addExistingNode(NodeBuilder builder, String name, NodeState before, NodeState after);
focal_method.class_method_signature: AbstractRebaseDiff.addExistingNode(NodeBuilder builder, String name, NodeState before, NodeState after)
focal_method.full_signature: protected abstract void addExistingNode(NodeBuilder builder, String name, NodeState before, NodeState after)
focal_method.identifier: addExistingNode
focal_method.modifiers: protected abstract
focal_method.parameters: (NodeBuilder builder, String name, NodeState before, NodeState after)
focal_method.return: void
focal_method.signature: void addExistingNode(NodeBuilder builder, String name, NodeState before, NodeState after)