Package japicmp.model

Interface JApiHasLineNumber

All Known Implementing Classes:
JApiBehavior, JApiConstructor, JApiMethod

public interface JApiHasLineNumber
This interface is implemented by all elements that can have line number in their source file.
  • Method Details

    • getOldLineNumber

      Optional<Integer> getOldLineNumber()
      Returns the line number in the source file of the old element.
      Returns:
      the line number in the source file of the old element
    • geNewLineNumber

      Optional<Integer> geNewLineNumber()
      Returns the line number in the source file of the new element.
      Returns:
      the line number in the source file of the new element