Class StacktraceModel.Fork

  • Enclosing class:
    StacktraceModel

    public class StacktraceModel.Fork
    extends java.lang.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 int getItemOffset()
      • getItemsInFork

        public int getItemsInFork()
      • getBranchCount

        public int getBranchCount()
      • getSelectedBranch

        @Deprecated
        public StacktraceModel.Branch getSelectedBranch()
        Deprecated.
        Will eventually be moved to UI code
      • getFirstFrames

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

        @Deprecated
        public void selectBranch​(java.lang.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.