public final class TernaryPatcher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static boolean |
sawGOTO |
private static java.util.List<java.lang.Object> |
userValues |
Modifier | Constructor and Description |
---|---|
private |
TernaryPatcher() |
Modifier and Type | Method and Description |
---|---|
static void |
post(edu.umd.cs.findbugs.OpcodeStack stack,
int opcode)
called after the execution of the parent OpcodeStack.sawOpcode, to
restore the user values after the GOTO or GOTO_W's mergeJumps were
processed
|
static void |
pre(edu.umd.cs.findbugs.OpcodeStack stack,
int opcode)
called before the execution of the parent OpcodeStack.sawOpcode() to save
user values if the opcode is a GOTO or GOTO_W.
|
private static java.util.List<java.lang.Object> userValues
private static boolean sawGOTO
public static void pre(edu.umd.cs.findbugs.OpcodeStack stack, int opcode)
stack
- the OpcodeStack with the items containing user valuesopcode
- the opcode currently seenpublic static void post(edu.umd.cs.findbugs.OpcodeStack stack, int opcode)
stack
- the OpcodeStack with the items containing user valuesopcode
- the opcode currently seenCopyright © 2005-2018 MeBigFatGuy.com. All Rights Reserved.