Skip to content

Commit

Permalink
Adding convenient method to manipulate the PrettyPrinter configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jlerbsc committed Nov 27, 2020
1 parent 05b4e39 commit 6b16a5e
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,13 @@ private Storage(CompilationUnit compilationUnit, Path path, Charset encoding) {
public void setPrinter(Printable printer) {
this.printer = printer;
}

/**
* Returns the internal printer
*/
public Printable getPrinter() {
return this.printer;
}

/**
* @return the path to the source for this CompilationUnit
Expand Down

0 comments on commit 6b16a5e

Please sign in to comment.