public class FrameSeparator extends Object
stacktrace model.
There are two dimensions to consider when comparing frames. The first is the level of detail in a
frame, where package is the most general and byte code index is the most specific. The second is
if different optimization levels (see IMCFrame.Type) should be treated as equal or not.
| Modifier and Type | Class and Description |
|---|---|
static class |
FrameSeparator.FrameCategorization |
| Constructor and Description |
|---|
FrameSeparator(FrameSeparator.FrameCategorization categorization,
boolean distinguishFramesByOptimization) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
FrameSeparator.FrameCategorization |
getCategorization() |
int |
hashCode() |
boolean |
isDistinguishFramesByOptimization() |
boolean |
isSeparate(IMCFrame frameA,
IMCFrame frameB)
Check if two frames are different according to this frame separator.
|
public FrameSeparator(FrameSeparator.FrameCategorization categorization, boolean distinguishFramesByOptimization)
categorization - How much detail to look at when comparing frames.distinguishFramesByOptimization - True to treat different compiled versions of the code as different.public FrameSeparator.FrameCategorization getCategorization()
public boolean isDistinguishFramesByOptimization()
public boolean isSeparate(IMCFrame frameA, IMCFrame frameB)
Copyright © 2020. All rights reserved.