Interface MethodInfo

All Known Implementing Classes:
MethodInfoImpl

public interface MethodInfo
Interface to wrap information about classes and interfaces methods
See Also:
  • 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

      Optional<String> getModifiers()
      Get all the modifiers of the method, if present
      Returns:
      an Optional<String> if the modifiers are present, Empty otherwise
    • getParentClassOrInterfaceReport

      Report getParentClassOrInterfaceReport()
      Get the full parent report, ClassReport or InterfaceReport
      Returns:
      the parent report