Package ghidra.util

Class JavaSourceFile


  • public class JavaSourceFile
    extends java.lang.Object
    • Constructor Detail

      • JavaSourceFile

        public JavaSourceFile​(java.lang.String filename)
    • Method Detail

      • 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 java.lang.String getJavaStatementStartingAtLine​(int firstUseLineNumber)
      • save

        public void save()
      • toString

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

        public JavaSourceFile getOriginalSourceFileCopy()