test_class.declarator: builder = EMPTY_NODE.builder()
test_class.modifier: private
test_class.original_string: private NodeBuilder builder = EMPTY_NODE.builder();
test_class.type: NodeBuilder
test_class.var_name: builder
test_class.declarator: blobHandler = mock(BlobDeserializer.class)
test_class.modifier: private
test_class.original_string: private BlobDeserializer blobHandler = mock(BlobDeserializer.class);
test_class.type: BlobDeserializer
test_class.var_name: blobHandler
test_class.declarator: folder = new TemporaryFolder(new File("target"))
test_class.modifier: @Rule
      public final
test_class.original_string: @Rule
      public final TemporaryFolder folder = new TemporaryFolder(new File("target"));
test_class.type: TemporaryFolder
test_class.var_name: folder
test_class.file: oak-run/src/test/java/org/apache/jackrabbit/oak/exporter/NodeStateSerializerTest.java
test_class.identifier: NodeStateSerializerTest
test_case.body: @Test
      public void basics() throws Exception{
          builder.child("a").setProperty("foo", "bar");
  
          NodeStateSerializer serializer = new NodeStateSerializer(builder.getNodeState());
          String json = serializer.serialize();
          NodeState nodeState2 = deserialize(json);
          assertTrue(EqualsDiff.equals(builder.getNodeState(), nodeState2));
      }
test_case.class_method_signature: NodeStateSerializerTest.basics()
test_case.full_signature: @Test public void basics()
test_case.identifier: basics
test_case.invocations: setProperty child getNodeState serialize deserialize assertTrue equals getNodeState
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void basics()
focal_class.declarator: nodeState
focal_class.modifier: private final
focal_class.original_string: private final NodeState nodeState;
focal_class.type: NodeState
focal_class.var_name: nodeState
focal_class.declarator: blobDirName = "blobs"
focal_class.modifier: private
focal_class.original_string: private String blobDirName = "blobs";
focal_class.type: String
focal_class.var_name: blobDirName
focal_class.declarator: jsonFileName = "nodestates.json"
focal_class.modifier: private
focal_class.original_string: private String jsonFileName = "nodestates.json";
focal_class.type: String
focal_class.var_name: jsonFileName
focal_class.declarator: txtFileName = "nodestates.txt"
focal_class.modifier: private
focal_class.original_string: private String txtFileName = "nodestates.txt";
focal_class.type: String
focal_class.var_name: txtFileName
focal_class.declarator: depth = Integer.MAX_VALUE
focal_class.modifier: private
focal_class.original_string: private int depth = Integer.MAX_VALUE;
focal_class.type: int
focal_class.var_name: depth
focal_class.declarator: maxChildNodes = Integer.MAX_VALUE
focal_class.modifier: private
focal_class.original_string: private int maxChildNodes = Integer.MAX_VALUE;
focal_class.type: int
focal_class.var_name: maxChildNodes
focal_class.declarator: filter = "{}"
focal_class.modifier: private
focal_class.original_string: private String filter = "{}";
focal_class.type: String
focal_class.var_name: filter
focal_class.declarator: filterFile
focal_class.modifier: private
focal_class.original_string: private File filterFile;
focal_class.type: File
focal_class.var_name: filterFile
focal_class.declarator: path = "/"
focal_class.modifier: private
focal_class.original_string: private String path = "/";
focal_class.type: String
focal_class.var_name: path
focal_class.declarator: format = Format.JSON
focal_class.modifier: private
focal_class.original_string: private Format format = Format.JSON;
focal_class.type: Format
focal_class.var_name: format
focal_class.declarator: serializeBlobContent
focal_class.modifier: private
focal_class.original_string: private boolean serializeBlobContent;
focal_class.type: boolean
focal_class.var_name: serializeBlobContent
focal_class.declarator: prettyPrint = true
focal_class.modifier: private
focal_class.original_string: private boolean prettyPrint = true;
focal_class.type: boolean
focal_class.var_name: prettyPrint
focal_class.declarator: blobSerializer
focal_class.modifier: private
focal_class.original_string: private FSBlobSerializer blobSerializer;
focal_class.type: FSBlobSerializer
focal_class.var_name: blobSerializer
focal_class.file: oak-run/src/main/java/org/apache/jackrabbit/oak/exporter/NodeStateSerializer.java
focal_class.identifier: NodeStateSerializer
focal_class.class_method_signature: NodeStateSerializer.NodeStateSerializer(NodeState nodeState)
focal_class.full_signature: public  NodeStateSerializer(NodeState nodeState)
focal_class.identifier: NodeStateSerializer
focal_class.modifiers: public
focal_class.parameters: (NodeState nodeState)
focal_class.signature:  NodeStateSerializer(NodeState nodeState)
focal_class.class_method_signature: NodeStateSerializer.serialize()
focal_class.full_signature: public String serialize()
focal_class.identifier: serialize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String serialize()
focal_class.class_method_signature: NodeStateSerializer.serialize(File dir)
focal_class.full_signature: public void serialize(File dir)
focal_class.identifier: serialize
focal_class.modifiers: public
focal_class.parameters: (File dir)
focal_class.return: void
focal_class.signature: void serialize(File dir)
focal_class.class_method_signature: NodeStateSerializer.serialize(Writer writer, BlobSerializer blobSerializer)
focal_class.full_signature: private void serialize(Writer writer, BlobSerializer blobSerializer)
focal_class.identifier: serialize
focal_class.modifiers: private
focal_class.parameters: (Writer writer, BlobSerializer blobSerializer)
focal_class.return: void
focal_class.signature: void serialize(Writer writer, BlobSerializer blobSerializer)
focal_class.class_method_signature: NodeStateSerializer.serialize(JsopWriter writer, BlobSerializer blobSerializer)
focal_class.full_signature: private void serialize(JsopWriter writer, BlobSerializer blobSerializer)
focal_class.identifier: serialize
focal_class.modifiers: private
focal_class.parameters: (JsopWriter writer, BlobSerializer blobSerializer)
focal_class.return: void
focal_class.signature: void serialize(JsopWriter writer, BlobSerializer blobSerializer)
focal_class.class_method_signature: NodeStateSerializer.createBlobSerializer(File dir)
focal_class.full_signature: private BlobSerializer createBlobSerializer(File dir)
focal_class.identifier: createBlobSerializer
focal_class.modifiers: private
focal_class.parameters: (File dir)
focal_class.return: BlobSerializer
focal_class.signature: BlobSerializer createBlobSerializer(File dir)
focal_class.class_method_signature: NodeStateSerializer.closeSerializer()
focal_class.full_signature: private void closeSerializer()
focal_class.identifier: closeSerializer
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void closeSerializer()
focal_class.class_method_signature: NodeStateSerializer.createBlobSerializer()
focal_class.full_signature: private BlobSerializer createBlobSerializer()
focal_class.identifier: createBlobSerializer
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: BlobSerializer
focal_class.signature: BlobSerializer createBlobSerializer()
focal_class.class_method_signature: NodeStateSerializer.getFilter()
focal_class.full_signature: private String getFilter()
focal_class.identifier: getFilter
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getFilter()
focal_class.class_method_signature: NodeStateSerializer.getFileName()
focal_class.full_signature: public String getFileName()
focal_class.identifier: getFileName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getFileName()
focal_class.class_method_signature: NodeStateSerializer.getBlobDirName()
focal_class.full_signature: public String getBlobDirName()
focal_class.identifier: getBlobDirName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getBlobDirName()
focal_class.class_method_signature: NodeStateSerializer.setBlobDirName(String blobDirName)
focal_class.full_signature: public void setBlobDirName(String blobDirName)
focal_class.identifier: setBlobDirName
focal_class.modifiers: public
focal_class.parameters: (String blobDirName)
focal_class.return: void
focal_class.signature: void setBlobDirName(String blobDirName)
focal_class.class_method_signature: NodeStateSerializer.setJsonFileName(String jsonFileName)
focal_class.full_signature: public void setJsonFileName(String jsonFileName)
focal_class.identifier: setJsonFileName
focal_class.modifiers: public
focal_class.parameters: (String jsonFileName)
focal_class.return: void
focal_class.signature: void setJsonFileName(String jsonFileName)
focal_class.class_method_signature: NodeStateSerializer.setTxtFileName(String txtFileName)
focal_class.full_signature: public void setTxtFileName(String txtFileName)
focal_class.identifier: setTxtFileName
focal_class.modifiers: public
focal_class.parameters: (String txtFileName)
focal_class.return: void
focal_class.signature: void setTxtFileName(String txtFileName)
focal_class.class_method_signature: NodeStateSerializer.setDepth(int depth)
focal_class.full_signature: public void setDepth(int depth)
focal_class.identifier: setDepth
focal_class.modifiers: public
focal_class.parameters: (int depth)
focal_class.return: void
focal_class.signature: void setDepth(int depth)
focal_class.class_method_signature: NodeStateSerializer.setMaxChildNodes(int maxChildNodes)
focal_class.full_signature: public void setMaxChildNodes(int maxChildNodes)
focal_class.identifier: setMaxChildNodes
focal_class.modifiers: public
focal_class.parameters: (int maxChildNodes)
focal_class.return: void
focal_class.signature: void setMaxChildNodes(int maxChildNodes)
focal_class.class_method_signature: NodeStateSerializer.setFilter(String filter)
focal_class.full_signature: public void setFilter(String filter)
focal_class.identifier: setFilter
focal_class.modifiers: public
focal_class.parameters: (String filter)
focal_class.return: void
focal_class.signature: void setFilter(String filter)
focal_class.class_method_signature: NodeStateSerializer.setFilterFile(File filterFile)
focal_class.full_signature: public void setFilterFile(File filterFile)
focal_class.identifier: setFilterFile
focal_class.modifiers: public
focal_class.parameters: (File filterFile)
focal_class.return: void
focal_class.signature: void setFilterFile(File filterFile)
focal_class.class_method_signature: NodeStateSerializer.setPath(String path)
focal_class.full_signature: public void setPath(String path)
focal_class.identifier: setPath
focal_class.modifiers: public
focal_class.parameters: (String path)
focal_class.return: void
focal_class.signature: void setPath(String path)
focal_class.class_method_signature: NodeStateSerializer.setFormat(Format format)
focal_class.full_signature: public void setFormat(Format format)
focal_class.identifier: setFormat
focal_class.modifiers: public
focal_class.parameters: (Format format)
focal_class.return: void
focal_class.signature: void setFormat(Format format)
focal_class.class_method_signature: NodeStateSerializer.setSerializeBlobContent(boolean serializeBlobContent)
focal_class.full_signature: public void setSerializeBlobContent(boolean serializeBlobContent)
focal_class.identifier: setSerializeBlobContent
focal_class.modifiers: public
focal_class.parameters: (boolean serializeBlobContent)
focal_class.return: void
focal_class.signature: void setSerializeBlobContent(boolean serializeBlobContent)
focal_class.class_method_signature: NodeStateSerializer.setPrettyPrint(boolean prettyPrint)
focal_class.full_signature: public void setPrettyPrint(boolean prettyPrint)
focal_class.identifier: setPrettyPrint
focal_class.modifiers: public
focal_class.parameters: (boolean prettyPrint)
focal_class.return: void
focal_class.signature: void setPrettyPrint(boolean prettyPrint)
focal_method.body: public String serialize() throws IOException {
          StringWriter sw = new StringWriter();
          serialize(sw, createBlobSerializer());
          closeSerializer();
          return sw.toString();
      }
focal_method.class_method_signature: NodeStateSerializer.serialize()
focal_method.full_signature: public String serialize()
focal_method.identifier: serialize
focal_method.invocations: serialize createBlobSerializer closeSerializer toString
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String serialize()