Uses of Interface
spoon.reflect.visitor.PrettyPrinter
Packages that use 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
Methods in spoon that return PrettyPrinter -
Uses of PrettyPrinter in spoon.compiler
Methods in spoon.compiler that return PrettyPrinterModifier 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.Method parameters in spoon.compiler with type arguments of type PrettyPrinterModifier 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
Classes in spoon.reflect.visitor that implement PrettyPrinterModifier and TypeClassDescriptionclass
A visitor for generating Java code from the program compile-time model. -
Uses of PrettyPrinter in spoon.support
Methods in spoon.support that return PrettyPrinterModifier and TypeMethodDescriptionStandardEnvironment.createPrettyPrinter()
StandardEnvironment.createPrettyPrinterAutoImport()
JavaOutputProcessor.getPrinter()
Method parameters in spoon.support with type arguments of type PrettyPrinterModifier and TypeMethodDescriptionvoid
StandardEnvironment.setPrettyPrinterCreator(Supplier<PrettyPrinter> creator)
Constructors in spoon.support with parameters of type PrettyPrinter -
Uses of PrettyPrinter in spoon.support.sniper
Classes in spoon.support.sniper that implement PrettyPrinterModifier and TypeClassDescriptionclass
PrettyPrinter
implementation, which copies as much as possible from the origin sources and tries to only print the changed elements.