com.atlassian.clover.api.registry

## Interface HasMethods

- All Known Subinterfaces:
    ClassInfo, FileInfo, MethodInfo

      public interface HasMethods

  Represents a code entity containing methods or their equivalent (like Java8 lambdas or Closure functions)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<? extends MethodInfo>` | `getAllMethods()` Returns list of all methods, including indirect descendants.
    `java.util.List<? extends MethodInfo>` | `getMethods()` Returns list of methods

- - ### Method Detail

    - #### getMethods

          @NotNull
          java.util.List<? extends MethodInfo> getMethods()

      Returns list of methods
      Returns:
        List<? extends MethodInfo> - list of methods or empty list if none

    - #### getAllMethods

          @NotNull
          java.util.List<? extends MethodInfo> getAllMethods()

      Returns list of all methods, including indirect descendants.
      Returns:
        List<? extends MethodInfo> - list of methods or empty list if none