Package ghidra.util
Class JavaSourceLine
- java.lang.Object
-
- ghidra.util.JavaSourceLine
-
public class JavaSourceLine extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JavaSourceLine(java.lang.String line, int lineNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(java.lang.String text)
void
delete()
java.lang.String
getLeadingWhitespace()
int
getLineNumber()
java.lang.String
getOriginalText()
java.lang.String
getText()
boolean
hasChanges()
boolean
isDeleted()
void
prepend(java.lang.String text)
void
setText(java.lang.String text)
java.lang.String
toString()
-
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
-
delete
public void delete()
-
getLeadingWhitespace
public java.lang.String getLeadingWhitespace()
-
isDeleted
public boolean isDeleted()
-
getText
public java.lang.String getText()
-
prepend
public void prepend(java.lang.String text)
-
append
public void append(java.lang.String text)
-
setText
public void setText(java.lang.String text)
-
hasChanges
public boolean hasChanges()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getOriginalText
public java.lang.String getOriginalText()
-
-