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/plugins/memory/MemoryNodeBuilderTest.java
test_class.identifier: MemoryNodeBuilderTest
test_case.body: @Test
      public void testReset() {
          NodeBuilder root = base.builder();
          NodeBuilder child = root.child("x");
          child.child("new");
  
          assertTrue(child.hasChildNode("new"));
          assertTrue(root.child("x").hasChildNode("new"));
  
          ((MemoryNodeBuilder) root).reset(base);
          assertFalse(child.hasChildNode("new"));
          assertFalse(root.child("x").hasChildNode("new"));
      }
test_case.class_method_signature: MemoryNodeBuilderTest.testReset()
test_case.full_signature: @Test public void testReset()
test_case.identifier: testReset
test_case.invocations: builder child child assertTrue hasChildNode assertTrue hasChildNode child reset assertFalse hasChildNode assertFalse hasChildNode child
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReset()
focal_class.declarator: parent
focal_class.modifier: private final
focal_class.original_string: private final MemoryNodeBuilder parent;
focal_class.type: MemoryNodeBuilder
focal_class.var_name: parent
focal_class.declarator: name
focal_class.modifier: private final
focal_class.original_string: private final String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: rootBuilder
focal_class.modifier: private final
focal_class.original_string: private final MemoryNodeBuilder rootBuilder;
focal_class.type: MemoryNodeBuilder
focal_class.var_name: rootBuilder
focal_class.declarator: baseRevision
focal_class.modifier: private
focal_class.original_string: private long baseRevision;
focal_class.type: long
focal_class.var_name: baseRevision
focal_class.declarator: base
focal_class.modifier: @NotNull
      private
focal_class.original_string: @NotNull
      private NodeState base;
focal_class.type: NodeState
focal_class.var_name: base
focal_class.declarator: rootHead
focal_class.modifier: private final
focal_class.original_string: private final RootHead rootHead;
focal_class.type: RootHead
focal_class.var_name: rootHead
focal_class.declarator: head
focal_class.modifier: private
focal_class.original_string: private Head head;
focal_class.type: Head
focal_class.var_name: head
focal_class.file: oak-store-spi/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeBuilder.java
focal_class.identifier: MemoryNodeBuilder
focal_class.interfaces: implements NodeBuilder
focal_class.class_method_signature: MemoryNodeBuilder.MemoryNodeBuilder(MemoryNodeBuilder parent, String name)
focal_class.full_signature: protected  MemoryNodeBuilder(MemoryNodeBuilder parent, String name)
focal_class.identifier: MemoryNodeBuilder
focal_class.modifiers: protected
focal_class.parameters: (MemoryNodeBuilder parent, String name)
focal_class.signature:  MemoryNodeBuilder(MemoryNodeBuilder parent, String name)
focal_class.class_method_signature: MemoryNodeBuilder.MemoryNodeBuilder(@NotNull NodeState base)
focal_class.full_signature: public  MemoryNodeBuilder(@NotNull NodeState base)
focal_class.identifier: MemoryNodeBuilder
focal_class.modifiers: public
focal_class.parameters: (@NotNull NodeState base)
focal_class.signature:  MemoryNodeBuilder(@NotNull NodeState base)
focal_class.class_method_signature: MemoryNodeBuilder.head()
focal_class.full_signature: private Head head()
focal_class.identifier: head
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Head
focal_class.signature: Head head()
focal_class.class_method_signature: MemoryNodeBuilder.isRoot()
focal_class.full_signature: public final boolean isRoot()
focal_class.identifier: isRoot
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isRoot()
focal_class.class_method_signature: MemoryNodeBuilder.base()
focal_class.full_signature: @NotNull private NodeState base()
focal_class.identifier: base
focal_class.modifiers: @NotNull private
focal_class.parameters: ()
focal_class.return: NodeState
focal_class.signature: NodeState base()
focal_class.class_method_signature: MemoryNodeBuilder.createChildBuilder(String name)
focal_class.full_signature: protected MemoryNodeBuilder createChildBuilder(String name)
focal_class.identifier: createChildBuilder
focal_class.modifiers: protected
focal_class.parameters: (String name)
focal_class.return: MemoryNodeBuilder
focal_class.signature: MemoryNodeBuilder createChildBuilder(String name)
focal_class.class_method_signature: MemoryNodeBuilder.updated()
focal_class.full_signature: protected void updated()
focal_class.identifier: updated
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void updated()
focal_class.class_method_signature: MemoryNodeBuilder.getParent()
focal_class.full_signature: protected final MemoryNodeBuilder getParent()
focal_class.identifier: getParent
focal_class.modifiers: protected final
focal_class.parameters: ()
focal_class.return: MemoryNodeBuilder
focal_class.signature: MemoryNodeBuilder getParent()
focal_class.class_method_signature: MemoryNodeBuilder.getName()
focal_class.full_signature: protected final String getName()
focal_class.identifier: getName
focal_class.modifiers: protected final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: MemoryNodeBuilder.reset(@NotNull NodeState newBase)
focal_class.full_signature: public void reset(@NotNull NodeState newBase)
focal_class.identifier: reset
focal_class.modifiers: public
focal_class.parameters: (@NotNull NodeState newBase)
focal_class.return: void
focal_class.signature: void reset(@NotNull NodeState newBase)
focal_class.class_method_signature: MemoryNodeBuilder.set(NodeState newState)
focal_class.full_signature: protected void set(NodeState newState)
focal_class.identifier: set
focal_class.modifiers: protected
focal_class.parameters: (NodeState newState)
focal_class.return: void
focal_class.signature: void set(NodeState newState)
focal_class.class_method_signature: MemoryNodeBuilder.getNodeState()
focal_class.full_signature: @Override @NotNull public NodeState getNodeState()
focal_class.identifier: getNodeState
focal_class.modifiers: @Override @NotNull public
focal_class.parameters: ()
focal_class.return: NodeState
focal_class.signature: NodeState getNodeState()
focal_class.class_method_signature: MemoryNodeBuilder.getBaseState()
focal_class.full_signature: @Override @NotNull public NodeState getBaseState()
focal_class.identifier: getBaseState
focal_class.modifiers: @Override @NotNull public
focal_class.parameters: ()
focal_class.return: NodeState
focal_class.signature: NodeState getBaseState()
focal_class.class_method_signature: MemoryNodeBuilder.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: MemoryNodeBuilder.isNew()
focal_class.full_signature: @Override public boolean isNew()
focal_class.identifier: isNew
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isNew()
focal_class.class_method_signature: MemoryNodeBuilder.isNew(String name)
focal_class.full_signature: @Override public boolean isNew(String name)
focal_class.identifier: isNew
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: boolean
focal_class.signature: boolean isNew(String name)
focal_class.class_method_signature: MemoryNodeBuilder.isModified()
focal_class.full_signature: @Override public boolean isModified()
focal_class.identifier: isModified
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isModified()
focal_class.class_method_signature: MemoryNodeBuilder.isReplaced()
focal_class.full_signature: @Override public boolean isReplaced()
focal_class.identifier: isReplaced
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isReplaced()
focal_class.class_method_signature: MemoryNodeBuilder.isReplaced(String name)
focal_class.full_signature: @Override public boolean isReplaced(String name)
focal_class.identifier: isReplaced
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: boolean
focal_class.signature: boolean isReplaced(String name)
focal_class.class_method_signature: MemoryNodeBuilder.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: MemoryNodeBuilder.getChildNodeNames()
focal_class.full_signature: @NotNull @Override public Iterable<String> getChildNodeNames()
focal_class.identifier: getChildNodeNames
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: Iterable<String>
focal_class.signature: Iterable<String> getChildNodeNames()
focal_class.class_method_signature: MemoryNodeBuilder.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: MemoryNodeBuilder.child(@NotNull String name)
focal_class.full_signature: @NotNull @Override public NodeBuilder child(@NotNull String name)
focal_class.identifier: child
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull String name)
focal_class.return: NodeBuilder
focal_class.signature: NodeBuilder child(@NotNull String name)
focal_class.class_method_signature: MemoryNodeBuilder.getChildNode(@NotNull String name)
focal_class.full_signature: @NotNull @Override public NodeBuilder getChildNode(@NotNull String name)
focal_class.identifier: getChildNode
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull String name)
focal_class.return: NodeBuilder
focal_class.signature: NodeBuilder getChildNode(@NotNull String name)
focal_class.class_method_signature: MemoryNodeBuilder.setChildNode(@NotNull String name)
focal_class.full_signature: @NotNull @Override public NodeBuilder setChildNode(@NotNull String name)
focal_class.identifier: setChildNode
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull String name)
focal_class.return: NodeBuilder
focal_class.signature: NodeBuilder setChildNode(@NotNull String name)
focal_class.class_method_signature: MemoryNodeBuilder.setChildNode(@NotNull String name, @NotNull NodeState state)
focal_class.full_signature: @NotNull @Override public NodeBuilder setChildNode(@NotNull String name, @NotNull NodeState state)
focal_class.identifier: setChildNode
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull String name, @NotNull NodeState state)
focal_class.return: NodeBuilder
focal_class.signature: NodeBuilder setChildNode(@NotNull String name, @NotNull NodeState state)
focal_class.class_method_signature: MemoryNodeBuilder.remove()
focal_class.full_signature: @Override public boolean remove()
focal_class.identifier: remove
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean remove()
focal_class.class_method_signature: MemoryNodeBuilder.moveTo(@NotNull NodeBuilder newParent, @NotNull String newName)
focal_class.full_signature: @Override public boolean moveTo(@NotNull NodeBuilder newParent, @NotNull String newName)
focal_class.identifier: moveTo
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull NodeBuilder newParent, @NotNull String newName)
focal_class.return: boolean
focal_class.signature: boolean moveTo(@NotNull NodeBuilder newParent, @NotNull String newName)
focal_class.class_method_signature: MemoryNodeBuilder.annotateSourcePath()
focal_class.full_signature: protected final void annotateSourcePath()
focal_class.identifier: annotateSourcePath
focal_class.modifiers: protected final
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void annotateSourcePath()
focal_class.class_method_signature: MemoryNodeBuilder.getSourcePath()
focal_class.full_signature: private final String getSourcePath()
focal_class.identifier: getSourcePath
focal_class.modifiers: private final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSourcePath()
focal_class.class_method_signature: MemoryNodeBuilder.getSourcePathAnnotation(MemoryNodeBuilder builder)
focal_class.full_signature: private static String getSourcePathAnnotation(MemoryNodeBuilder builder)
focal_class.identifier: getSourcePathAnnotation
focal_class.modifiers: private static
focal_class.parameters: (MemoryNodeBuilder builder)
focal_class.return: String
focal_class.signature: String getSourcePathAnnotation(MemoryNodeBuilder builder)
focal_class.class_method_signature: MemoryNodeBuilder.isTransientlyAdded(String path)
focal_class.full_signature: private boolean isTransientlyAdded(String path)
focal_class.identifier: isTransientlyAdded
focal_class.modifiers: private
focal_class.parameters: (String path)
focal_class.return: boolean
focal_class.signature: boolean isTransientlyAdded(String path)
focal_class.class_method_signature: MemoryNodeBuilder.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: MemoryNodeBuilder.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: MemoryNodeBuilder.hasProperty(String name)
focal_class.full_signature: @Override public boolean hasProperty(String name)
focal_class.identifier: hasProperty
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: boolean
focal_class.signature: boolean hasProperty(String name)
focal_class.class_method_signature: MemoryNodeBuilder.getProperty(String name)
focal_class.full_signature: @Override public PropertyState getProperty(String name)
focal_class.identifier: getProperty
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: PropertyState
focal_class.signature: PropertyState getProperty(String name)
focal_class.class_method_signature: MemoryNodeBuilder.getBoolean(@NotNull String name)
focal_class.full_signature: @Override public boolean getBoolean(@NotNull String name)
focal_class.identifier: getBoolean
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull String name)
focal_class.return: boolean
focal_class.signature: boolean getBoolean(@NotNull String name)
focal_class.class_method_signature: MemoryNodeBuilder.getString(@NotNull String name)
focal_class.full_signature: @Override @Nullable public String getString(@NotNull String name)
focal_class.identifier: getString
focal_class.modifiers: @Override @Nullable public
focal_class.parameters: (@NotNull String name)
focal_class.return: String
focal_class.signature: String getString(@NotNull String name)
focal_class.class_method_signature: MemoryNodeBuilder.getName(@NotNull String name)
focal_class.full_signature: @Override @Nullable public String getName(@NotNull String name)
focal_class.identifier: getName
focal_class.modifiers: @Override @Nullable public
focal_class.parameters: (@NotNull String name)
focal_class.return: String
focal_class.signature: String getName(@NotNull String name)
focal_class.class_method_signature: MemoryNodeBuilder.getNames(@NotNull String name)
focal_class.full_signature: @Override @NotNull public Iterable<String> getNames(@NotNull String name)
focal_class.identifier: getNames
focal_class.modifiers: @Override @NotNull public
focal_class.parameters: (@NotNull String name)
focal_class.return: Iterable<String>
focal_class.signature: Iterable<String> getNames(@NotNull String name)
focal_class.class_method_signature: MemoryNodeBuilder.setProperty(@NotNull PropertyState property)
focal_class.full_signature: @NotNull @Override public NodeBuilder setProperty(@NotNull PropertyState property)
focal_class.identifier: setProperty
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull PropertyState property)
focal_class.return: NodeBuilder
focal_class.signature: NodeBuilder setProperty(@NotNull PropertyState property)
focal_class.class_method_signature: MemoryNodeBuilder.setProperty(String name, @NotNull T value)
focal_class.full_signature: @NotNull @Override public NodeBuilder setProperty(String name, @NotNull T value)
focal_class.identifier: setProperty
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (String name, @NotNull T value)
focal_class.return: NodeBuilder
focal_class.signature: NodeBuilder setProperty(String name, @NotNull T value)
focal_class.class_method_signature: MemoryNodeBuilder.setProperty(String name, @NotNull T value, Type<T> type)
focal_class.full_signature: @NotNull @Override public NodeBuilder setProperty(String name, @NotNull T value, Type<T> type)
focal_class.identifier: setProperty
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (String name, @NotNull T value, Type<T> type)
focal_class.return: NodeBuilder
focal_class.signature: NodeBuilder setProperty(String name, @NotNull T value, Type<T> type)
focal_class.class_method_signature: MemoryNodeBuilder.removeProperty(String name)
focal_class.full_signature: @NotNull @Override public NodeBuilder removeProperty(String name)
focal_class.identifier: removeProperty
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (String name)
focal_class.return: NodeBuilder
focal_class.signature: NodeBuilder removeProperty(String name)
focal_class.class_method_signature: MemoryNodeBuilder.createBlob(InputStream stream)
focal_class.full_signature: @Override public Blob createBlob(InputStream stream)
focal_class.identifier: createBlob
focal_class.modifiers: @Override public
focal_class.parameters: (InputStream stream)
focal_class.return: Blob
focal_class.signature: Blob createBlob(InputStream stream)
focal_class.class_method_signature: MemoryNodeBuilder.getPath()
focal_class.full_signature: public final String getPath()
focal_class.identifier: getPath
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPath()
focal_class.class_method_signature: MemoryNodeBuilder.getPath(StringBuilder parentPath)
focal_class.full_signature: private StringBuilder getPath(StringBuilder parentPath)
focal_class.identifier: getPath
focal_class.modifiers: private
focal_class.parameters: (StringBuilder parentPath)
focal_class.return: StringBuilder
focal_class.signature: StringBuilder getPath(StringBuilder parentPath)
focal_class.class_method_signature: MemoryNodeBuilder.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_method.body: public void reset(@NotNull NodeState newBase) {
          checkState(parent == null);
          base = checkNotNull(newBase);
          baseRevision = rootHead.setState(newBase) + 1;
      }
focal_method.class_method_signature: MemoryNodeBuilder.reset(@NotNull NodeState newBase)
focal_method.full_signature: public void reset(@NotNull NodeState newBase)
focal_method.identifier: reset
focal_method.invocations: checkState checkNotNull setState
focal_method.modifiers: public
focal_method.parameters: (@NotNull NodeState newBase)
focal_method.return: void
focal_method.signature: void reset(@NotNull NodeState newBase)