Package com.github.javaparser.printer
Class PrettyPrinter
- java.lang.Object
-
- com.github.javaparser.printer.PrettyPrinter
-
- All Implemented Interfaces:
Printer
@Deprecated public class PrettyPrinter extends Object implements Printer
Deprecated.This class could be removed in a future version. Use default DefaultPrettyPrinter.Pretty printer for AST nodes. This class is no longer acceptable to use because it is not sufficiently configurable and it is too tied to a specific implementationUse
interface or DefaultPrettyPrinter default implementation
instead.
-
-
Constructor Summary
Constructors Constructor Description PrettyPrinter()
Deprecated.PrettyPrinter(PrettyPrinterConfiguration configuration)
Deprecated.PrettyPrinter(PrettyPrinterConfiguration configuration, Function<PrettyPrinterConfiguration,VoidVisitor<Void>> visitorFactory)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PrinterConfiguration
getConfiguration()
Deprecated.String
print(Node node)
Deprecated.Printer
setConfiguration(PrinterConfiguration configuration)
Deprecated.
-
-
-
Constructor Detail
-
PrettyPrinter
public PrettyPrinter()
Deprecated.
-
PrettyPrinter
public PrettyPrinter(PrettyPrinterConfiguration configuration)
Deprecated.
-
PrettyPrinter
public PrettyPrinter(PrettyPrinterConfiguration configuration, Function<PrettyPrinterConfiguration,VoidVisitor<Void>> visitorFactory)
Deprecated.
-
-
Method Detail
-
getConfiguration
public PrinterConfiguration getConfiguration()
Deprecated.- Specified by:
getConfiguration
in interfacePrinter
-
setConfiguration
public Printer setConfiguration(PrinterConfiguration configuration)
Deprecated.- Specified by:
setConfiguration
in interfacePrinter
-
-