| java.lang.Object org.jibx.binding.classes.BranchTarget
BranchTarget | public class BranchTarget (Code) | | 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.
author: Dennis M. Sosnoski version: 1.0 |
Method Summary | |
InstructionHandle | getInstruction() Get actual target instruction. | String[] | getStack() Get stack state information. | boolean | matchStacks(String[] types) Matches the branch target stack state against the supplied stack state. |
BranchTarget | BranchTarget(InstructionHandle hand, String[] types)(Code) | | Constructor.
Parameters: hand - instruction handle Parameters: types - array of types of values on stack |
getInstruction | InstructionHandle getInstruction()(Code) | | Get actual target instruction.
handle for target instruction |
getStack | String[] getStack()(Code) | | Get stack state information.
array of type names on stack |
matchStacks | boolean matchStacks(String[] types)(Code) | | Matches the branch target stack state against the supplied stack state.
Parameters: types - array of types of values on stack true if stack states match, false ifnot |
|
|