@Test public void testSetContent() { String newContent = "new content"; document.setContent(newContent); Assert.assertEquals(newContent, document.getContent()); document.setContent(INITIAL_CONTENT); }
public void setContent(String content) { this.content = content; setTree(SyntaxTree.from(TextDocuments.from(this.content))); }
WorkspaceDocument { public void setContent(String content) { this.content = content; setTree(SyntaxTree.from(TextDocuments.from(this.content))); } }
WorkspaceDocument { public void setContent(String content) { this.content = content; setTree(SyntaxTree.from(TextDocuments.from(this.content))); } WorkspaceDocument(Path path, String content, boolean isTempFile);  WorkspaceDocument(Path path, String content); }
WorkspaceDocument { public void setContent(String content) { this.content = content; setTree(SyntaxTree.from(TextDocuments.from(this.content))); } WorkspaceDocument(Path path, String content, boolean isTempFile);  WorkspaceDocument(Path path, String content); List<CodeLens> getCodeLenses(); void setCodeLenses(List<CodeLens> codeLenses); Path getPath(); void setPath(Path path); String getContent(); void setContent(String content); void setIncrementContent(String content); SyntaxTree getTree(); void setTree(SyntaxTree tree); LSDocumentIdentifier getLSDocument(); @Override String toString(); }
WorkspaceDocument { public void setContent(String content) { this.content = content; setTree(SyntaxTree.from(TextDocuments.from(this.content))); } WorkspaceDocument(Path path, String content, boolean isTempFile);  WorkspaceDocument(Path path, String content); List<CodeLens> getCodeLenses(); void setCodeLenses(List<CodeLens> codeLenses); Path getPath(); void setPath(Path path); String getContent(); void setContent(String content); void setIncrementContent(String content); SyntaxTree getTree(); void setTree(SyntaxTree tree); LSDocumentIdentifier getLSDocument(); @Override String toString();  }