Uses of Interface
spoon.reflect.visitor.PrettyPrinter
Package
Description
This root package provides the default integrated launchers for Spoon program processing.
This package defines interfaces for Java file compilation with Spoon.
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
This package contains some default implementations for commonly used processing tasks.
This package provides support for the sniper mode: only the transformed part of classes is rewritten to disk.
-
Uses of PrettyPrinter in spoon
-
Uses of PrettyPrinter in spoon.compiler
Modifier and TypeMethodDescriptionEnvironment.createPrettyPrinter()
Creates the default pretty-printer.Environment.createPrettyPrinterAutoImport()
Creates a pretty-printer that automatically imports used types and turns fully qualified type names into simply qualified names.Modifier and TypeMethodDescriptionvoid
Environment.setPrettyPrinterCreator(Supplier<PrettyPrinter> creator)
Sets a custom pretty-printer that overrides the default pretty-printer. -
Uses of PrettyPrinter in spoon.reflect.visitor
Modifier and TypeClassDescriptionclass
A visitor for generating Java code from the program compile-time model. -
Uses of PrettyPrinter in spoon.support
Modifier and TypeMethodDescriptionStandardEnvironment.createPrettyPrinter()
StandardEnvironment.createPrettyPrinterAutoImport()
JavaOutputProcessor.getPrinter()
Modifier and TypeMethodDescriptionvoid
StandardEnvironment.setPrettyPrinterCreator(Supplier<PrettyPrinter> creator)
-
Uses of PrettyPrinter in spoon.support.sniper
Modifier and TypeClassDescriptionclass
PrettyPrinter
implementation, which copies as much as possible from the origin sources and tries to only print the changed elements.