Package spoon.support.sniper.internal
package spoon.support.sniper.internal
-
ClassDescriptionHelper which provides details about changes on provided `element`
SourceFragmentof List or Set ofElementSourceFragments which belong to collection role.A default dumb implementation ofSourceFragmentPrinter, which only prints the given PrinterEvent.Represents an action of Printer, which prints whole elementRepresents a part of source code of anCtElementIt is connected into a tree ofElementSourceFragments.Utility class for detecting the indentation style used in a compilation unit.represents whether aSourceFragmenthas been modified, and should be reprinted as is or with the normal pretty-printerTokenWriterwhich simply delegates toDefaultTokenWriterwith the decorator pattern, untilMutableTokenWriter.setMuted(boolean)is called with true Then all tokens are ignored.Represents an action of PrettyPrinterRepresents a part of source code.Handles printing of changes of the ordered list of elements.Knows how to print modifiedCtElementby the way that origin formatting is kept as much as possible.An object that knows how to printPrinterEventRepresents an action of Printer, which prints a tokenaSourceFragmentof some primitive String token, like separator, operator, whitespace, ...Type ofTokenSourceFragmenttoken.Wraps a `tokenWriter` by an implementation which intercepts allTokenWriterwriteXxx(String) calls and callsTokenWriterProxy.Listener.onTokenWriterWrite(TokenType, String, CtComment, Runnable)whereRunnablecan be used to invoke same event on the wrappedTokenWriterListens for each call ofTokenWriter