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 Detail

      • getOldLineNumber

        Optional<java.lang.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<java.lang.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