Package ghidra.util

Class JavaSourceFile

java.lang.Object
ghidra.util.JavaSourceFile

public class JavaSourceFile extends Object
  • Constructor Details

    • JavaSourceFile

      public JavaSourceFile(String filename)
  • Method Details

    • hasChanges

      public boolean hasChanges()
    • getImportSectionStartLineNumber

      public int getImportSectionStartLineNumber()
    • getLineNumberAfterStatementAtLine

      public int getLineNumberAfterStatementAtLine(int lineNumber)
    • removeJavaStatement

      public void removeJavaStatement(int lineNumber)
    • getLineContaintingStatementStart

      public JavaSourceLine getLineContaintingStatementStart(int lineNumber)
    • getJavaStatementStartingAtLine

      public String getJavaStatementStartingAtLine(int firstUseLineNumber)
    • getLine

      public JavaSourceLine getLine(int oneBasedLineNumber)
    • save

      public void save()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getOriginalSourceFileCopy

      public JavaSourceFile getOriginalSourceFileCopy()