Uses of Enum
spoon.support.sniper.internal.TokenType
Package
Description
This package provides support for the sniper mode: only the transformed part of classes is rewritten to disk.
-
Uses of TokenType in spoon.support.sniper
Modifier and TypeMethodDescriptionvoid
SniperJavaPrettyPrinter.onTokenWriterWrite(TokenType tokenType, String token, CtComment comment, Runnable printAction)
Called for each printed token -
Uses of TokenType in spoon.support.sniper.internal
Modifier and TypeMethodDescriptionTokenPrinterEvent.getTokenType()
TokenPrinterEvent.getType()
Returns the token typeTokenSourceFragment.getType()
static TokenType
Returns the enum constant of this type with the specified name.static TokenType[]
TokenType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionvoid
TokenWriterProxy.Listener.onTokenWriterWrite(TokenType tokenType, String token, CtComment comment, Runnable printAction)
Called once for each call ofTokenWriter
methodModifierConstructorDescriptionTokenPrinterEvent(TokenType type, String token, CtComment comment)
TokenSourceFragment(String source, TokenType type)