com.atlassian.clover.api.registry

## Interface HasBranches

- All Known Subinterfaces:
    MethodInfo

      public interface HasBranches

  Represents a code entity containing branches or their equivalent (if-then-else, switch blocks etc)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<? extends BranchInfo>` | `getBranches()` Returns list of branches

- - ### Method Detail

    - #### getBranches

          @NotNull
          java.util.List<? extends BranchInfo> getBranches()

      Returns list of branches
      Returns:
        List<? extends BranchInfo> - list of branches or empty list if none