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.SourceLineWithContext
getLine()
int
getLineNumber()
java.lang.String[]
getPostfix()
java.lang.String[]
getPrefix()
java.lang.String
getText()
java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getText
public java.lang.String getText()
- Specified by:
getText
in interfaceISourceLineAccess
- Returns:
- the text of the line without line break
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in 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()
-
-