Class SourceLineAccess
- java.lang.Object
-
- com.hello2morrow.sonargraph.core.api.model.SourceLineAccess
-
- All Implemented Interfaces:
ISourceLineAccess
public final class SourceLineAccess extends java.lang.Object implements ISourceLineAccess
-
-
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.SourceLineWithContextgetLine()intgetLineNumber()java.lang.String[]getPostfix()java.lang.String[]getPrefix()java.lang.StringgetText()java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getText
public java.lang.String getText()
- Specified by:
getTextin interfaceISourceLineAccess- Returns:
- the text of the line without line break
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumberin interfaceISourceLineAccess- Returns:
- the line number
-
getPrefix
public java.lang.String[] getPrefix()
-
getPostfix
public java.lang.String[] getPostfix()
-
getLine
public com.hello2morrow.sonargraph.core.model.common.SourceLineWithContext getLine()
-
-