Interface PrinterEvent

    • Method Detail

      • getRole

        CtRole getRole()
        role of printed source code of element in scope of its parent
      • printSourceFragment

        void printSourceFragment​(SourceFragment fragment,
                                 ModificationStatus isModified)
        We have a source fragment of to be printed element. Print unmodified parts of this source `fragment`
        fragment -
        isModified - true if at least some part of `SourceFragment` is modified.
      • getElement

        SourcePositionHolder getElement()
        printed element or null if printing a primitive token