public class StacktraceModel.Fork
extends java.lang.Object
This class might eventually be merged with the StacktraceModel.Branch
class.
Modifier and Type | Field and Description |
---|---|
private StacktraceModel.Branch[] |
branches |
private int |
itemOffset |
private int |
itemsInFork |
private StacktraceModel.Branch |
parentBranch |
private java.lang.Integer |
selectedBranchIndex |
Modifier | Constructor and Description |
---|---|
private |
Fork(java.lang.Iterable<? extends IItem> items) |
private |
Fork(java.lang.Iterable<? extends IItem> items,
int itemOffset,
StacktraceModel.Branch parentBranch)
Create a fork by grouping items by distinct head frames using the frame separator.
|
private |
Fork(StacktraceModel.Branch parentBranch) |
Modifier and Type | Method and Description |
---|---|
StacktraceModel.Branch |
getBranch(int branchIndex) |
int |
getBranchCount() |
StacktraceModel.Branch[] |
getBranches() |
StacktraceFrame[] |
getFirstFrames() |
int |
getItemOffset() |
int |
getItemsInFork() |
StacktraceModel.Branch |
getParentBranch() |
StacktraceModel.Branch |
getSelectedBranch()
Deprecated.
Will eventually be moved to UI code
|
void |
selectBranch(java.lang.Integer branchIndex)
Deprecated.
Will eventually be moved to UI code
|
private final StacktraceModel.Branch parentBranch
private final StacktraceModel.Branch[] branches
private final int itemOffset
private final int itemsInFork
private java.lang.Integer selectedBranchIndex
private Fork(StacktraceModel.Branch parentBranch)
private Fork(java.lang.Iterable<? extends IItem> items)
private Fork(java.lang.Iterable<? extends IItem> items, int itemOffset, StacktraceModel.Branch parentBranch)
public int getItemOffset()
public int getItemsInFork()
public StacktraceModel.Branch getParentBranch()
public int getBranchCount()
@Deprecated public StacktraceModel.Branch getSelectedBranch()
public StacktraceModel.Branch getBranch(int branchIndex)
public StacktraceModel.Branch[] getBranches()
public StacktraceFrame[] getFirstFrames()
@Deprecated public void selectBranch(java.lang.Integer branchIndex)
branchIndex
- Index of branch to select. If null, then selection will be cleared.