Package spoon.support.sniper.internal
Class ElementPrinterEvent
java.lang.Object
spoon.support.sniper.internal.ElementPrinterEvent
- All Implemented Interfaces:
PrinterEvent
Represents an action of Printer, which prints whole element
-
Field Details
-
role
-
element
-
-
Constructor Details
-
ElementPrinterEvent
-
-
Method Details
-
getRole
- Specified by:
getRole
in interfacePrinterEvent
- Returns:
- role of printed source code of element in scope of its parent
-
getElement
- Specified by:
getElement
in interfacePrinterEvent
- Returns:
- printed element or null if printing a primitive token
-
toString
-