|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.binding.classes.BranchTarget
Wrapper for branch target information. This preserves a snapshot of the stack state for the branch target, allowing it to be matched against the stack state for the branch source.
Field Summary | |
private java.lang.String[] |
m_stackTypes
Stack state for branch target. |
private org.apache.bcel.generic.InstructionHandle |
m_targetHandle
Actual wrapped instruction handle. |
Constructor Summary | |
(package private) |
BranchTarget(org.apache.bcel.generic.InstructionHandle hand,
java.lang.String[] types)
Constructor. |
Method Summary | |
(package private) org.apache.bcel.generic.InstructionHandle |
getInstruction()
Get actual target instruction. |
(package private) java.lang.String[] |
getStack()
Get stack state information. |
(package private) boolean |
matchStacks(java.lang.String[] types)
Matches the branch target stack state against the supplied stack state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final org.apache.bcel.generic.InstructionHandle m_targetHandle
private final java.lang.String[] m_stackTypes
Constructor Detail |
BranchTarget(org.apache.bcel.generic.InstructionHandle hand, java.lang.String[] types)
hand
- instruction handletypes
- array of types of values on stackMethod Detail |
org.apache.bcel.generic.InstructionHandle getInstruction()
java.lang.String[] getStack()
boolean matchStacks(java.lang.String[] types)
types
- array of types of values on stack
true
if stack states match, false
if
not
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |