Class SourceLineAccess

    • Constructor Summary

      Constructors 
      Constructor Description
      SourceLineAccess​(com.hello2morrow.sonargraph.core.model.common.SourceLineWithContext line)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.hello2morrow.sonargraph.core.model.common.SourceLineWithContext getLine()  
      int getLineNumber()  
      java.lang.String[] getPostfix()  
      java.lang.String[] getPrefix()  
      java.lang.String getText()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SourceLineAccess

        public SourceLineAccess​(com.hello2morrow.sonargraph.core.model.common.SourceLineWithContext line)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getText

        public java.lang.String getText()
        Specified by:
        getText in interface ISourceLineAccess
        Returns:
        the text of the line without line break
      • getPrefix

        public java.lang.String[] getPrefix()
      • getPostfix

        public java.lang.String[] getPostfix()
      • getLine

        public com.hello2morrow.sonargraph.core.model.common.SourceLineWithContext getLine()