Class StacktraceModel.Fork

  • Enclosing class:
    StacktraceModel

    public class StacktraceModel.Fork
    extends Object
    A fork is a collection of branches that share a common parent branch. The fork also keeps track of which one of its branches is currently selected.

    This class might eventually be merged with the StacktraceModel.Branch class.

    • Method Detail

      • getItemOffset

        public long getItemOffset()
      • getItemsInFork

        public int getItemsInFork()
      • getAggregateItemsInFork

        public long getAggregateItemsInFork()
      • getBranchCount

        public int getBranchCount()
      • getFirstFrames

        public StacktraceFrame[] getFirstFrames()
        Returns:
        the first frame of each child branch to this fork
      • selectBranch

        @Deprecated
        public void selectBranch​(Integer branchIndex)
        Deprecated.
        Will eventually be moved to UI code
        Select a child branch by its index.
        Parameters:
        branchIndex - Index of branch to select. If null, then selection will be cleared.