Package ghidra.util
Class JavaSourceFile
java.lang.Object
ghidra.util.JavaSourceFile
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getJavaStatementStartingAtLine
(int firstUseLineNumber) getLine
(int oneBasedLineNumber) getLineContaintingStatementStart
(int lineNumber) int
getLineNumberAfterStatementAtLine
(int lineNumber) boolean
void
removeJavaStatement
(int lineNumber) void
save()
toString()
-
Constructor Details
-
JavaSourceFile
-
-
Method Details
-
hasChanges
public boolean hasChanges() -
getImportSectionStartLineNumber
public int getImportSectionStartLineNumber() -
getLineNumberAfterStatementAtLine
public int getLineNumberAfterStatementAtLine(int lineNumber) -
removeJavaStatement
public void removeJavaStatement(int lineNumber) -
getLineContaintingStatementStart
-
getJavaStatementStartingAtLine
-
getLine
-
save
public void save() -
toString
-
getOriginalSourceFileCopy
-