Package lib.reports.info.interfaces
Interface MethodInfo
- All Known Implementing Classes:
MethodInfoImpl
public interface MethodInfo
Interface to wrap information about classes and interfaces methods
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the line in the source code in which the methods end, counting from 1Get all the modifiers of the method, if presentgetName()
Get the name of the methodGet the full parent report,ClassReport
orInterfaceReport
int
Get the line in the source code in which the methods begin, counting from 1
-
Method Details
-
getName
String getName()Get the name of the method- Returns:
- the name
-
getSrcBeginLine
int getSrcBeginLine()Get the line in the source code in which the methods begin, counting from 1- Returns:
- the number of the line
-
getEndBeginLine
int getEndBeginLine()Get the line in the source code in which the methods end, counting from 1- Returns:
- the number of the line
-
getModifiers
Get all the modifiers of the method, if present -
getParentClassOrInterfaceReport
Report getParentClassOrInterfaceReport()Get the full parent report,ClassReport
orInterfaceReport
- Returns:
- the parent report
-