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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<java.lang.Integer>
geNewLineNumber()
Returns the line number in the source file of the new element.Optional<java.lang.Integer>
getOldLineNumber()
Returns the line number in the source file of the old element.
-
-
-
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
-
-