Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mernst authored Dec 9, 2024
1 parent 41f7c91 commit 04b413d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1074,10 +1074,10 @@ public void writeResultsToFile(OutputFormat outputFormat, BaseTypeChecker checke
private void writeAjavaFile(File outputPath, CompilationUnitAnnos root) {
try (Writer writer = Files.newBufferedWriter(outputPath.toPath(), StandardCharsets.UTF_8)) {

// This implementation uses JavaParser's lexical preserving printing, which writes the
// file such that its formatting is close to the original source file it was parsed from
// as possible. It is commented out because, this feature is very buggy and crashes when
// adding annotations in certain locations.
// This commented implementation uses JavaParser's lexical preserving printing, which
// writes the file such that its formatting is close to the original source file it was
// parsed from as possible. It is commented out because this feature is very buggy and
// crashes when adding annotations in certain locations.
// LexicalPreservingPrinter.print(root.declaration, writer);

// Do not print invisible qualifiers, to avoid cluttering the output.
Expand Down

0 comments on commit 04b413d

Please sign in to comment.