Class Mark

    • Constructor Detail

    • Method Detail

      • getFilename

        public String getFilename()
      • getBeginLine

        public int getBeginLine()
      • getBeginColumn

        public int getBeginColumn()
        The column number where this duplication begins. returns -1 if not available
        Returns:
        the begin column number
      • getBeginTokenIndex

        public int getBeginTokenIndex()
      • getEndLine

        public int getEndLine()
      • getEndColumn

        public int getEndColumn()
        The column number where this duplication ends. returns -1 if not available
        Returns:
        the end column number
      • getEndTokenIndex

        public int getEndTokenIndex()
      • getLineCount

        public int getLineCount()
      • setLineCount

        public void setLineCount​(int lineCount)
      • setEndToken

        public void setEndToken​(TokenEntry endToken)
      • getSourceCodeSlice

        public String getSourceCodeSlice()
        Newlines are normalized to \n.
      • setSourceCode

        public void setSourceCode​(SourceCode code)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object