Class SourceCode


  • public class SourceCode
    extends Object
    • Method Detail

      • getCodeBuffer

        public StringBuilder getCodeBuffer()
        Newlines are normalized to \n.
      • getSlice

        public String getSlice​(int startLine,
                               int endLine)
        Loads a range of lines. Newlines are normalized to \n
        Parameters:
        startLine - Start line (inclusive, 1-based)
        endLine - End line (inclusive, 1-based)
      • getFileName

        public String getFileName()