Package ghidra.util

# Class JavaSourceLine

java.lang.Object
ghidra.util.JavaSourceLine

public class JavaSourceLine extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JavaSourceLine(String line, int lineNumber)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `append(String text)`
  `void`
  `delete()`
  `String`
  `getLeadingWhitespace()`
  `int`
  `getLineNumber()`
  `String`
  `getOriginalText()`
  `String`
  `getText()`
  `boolean`
  `hasChanges()`
  `boolean`
  `isDeleted()`
  `void`
  `prepend(String text)`
  `void`
  `setText(String text)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### JavaSourceLine

    public JavaSourceLine(String line, int lineNumber)

- ## Method Details

  - ### getLineNumber

    public int getLineNumber()

  - ### delete

    public void delete()

  - ### getLeadingWhitespace

    public String getLeadingWhitespace()

  - ### isDeleted

    public boolean isDeleted()

  - ### getText

    public String getText()

  - ### prepend

    public void prepend(String text)

  - ### append

    public void append(String text)

  - ### setText

    public void setText(String text)

  - ### hasChanges

    public boolean hasChanges()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### getOriginalText

    public String getOriginalText()