Package com.github.javaparser.printer
Class PrettyPrinter
- java.lang.Object
-
- com.github.javaparser.printer.PrettyPrinter
-
- All Implemented Interfaces:
ConfigurablePrinter,Printer
@Deprecated public class PrettyPrinter extends Object implements ConfigurablePrinter
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 implementationinstead.
-
-
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 PrinterConfigurationgetConfiguration()Deprecated.Stringprint(Node node)Deprecated.PrintersetConfiguration(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:
getConfigurationin interfaceConfigurablePrinter
-
setConfiguration
public Printer setConfiguration(PrinterConfiguration configuration)
Deprecated.- Specified by:
setConfigurationin interfaceConfigurablePrinter
-
-