joeq.Compiler.BytecodeAnalysis
Class Bytecodes.TABLESWITCH
java.lang.Object
joeq.Compiler.BytecodeAnalysis.Bytecodes.Instruction
joeq.Compiler.BytecodeAnalysis.Bytecodes.BranchInstruction
joeq.Compiler.BytecodeAnalysis.Bytecodes.Select
joeq.Compiler.BytecodeAnalysis.Bytecodes.TABLESWITCH
- All Implemented Interfaces:
- Serializable, Cloneable, Bytecodes.InstructionTargeter, Bytecodes.StackProducer, Bytecodes.VariableLengthInstruction
- Enclosing interface:
- Bytecodes
public static class Bytecodes.TABLESWITCH
- extends Bytecodes.Select
- implements Bytecodes.VariableLengthInstruction, Bytecodes.StackProducer
- See Also:
- Serialized Form
Bytecodes.TABLESWITCH
public Bytecodes.TABLESWITCH(int[] match,
ArrayList targets,
Bytecodes.InstructionHandle target)
- Parameters:
match
- sorted array of match values, match[0] must be low value,
match[match_length - 1] high valuetargets
- where to branch for matched valuestarget
- default branch
dump
public void dump(DataOutputStream out)
throws IOException
- Dump instruction as byte code to stream out.
- Overrides:
dump
in class Bytecodes.Select
- Parameters:
out
- Output stream
- Throws:
IOException
initFromFile
protected void initFromFile(jq_ConstantPool cp,
jwutil.io.ByteSequence bytes,
boolean wide)
throws IOException
- Read needed data (e.g. index) from file.
- Overrides:
initFromFile
in class Bytecodes.Select
- Parameters:
cp
- constant pool of class we are readingbytes
- input streamwide
- wide prefix?
- Throws:
IOException
- See Also:
Bytecodes.InstructionList
accept
public void accept(Bytecodes.Visitor v)
- Call corresponding visitor method(s). The order is:
Call visitor methods of implemented interfaces first, then
call methods according to the class hierarchy in descending order,
i.e., the most specific visitXXX() call comes last.
- Specified by:
accept
in class Bytecodes.Instruction
- Parameters:
v
- Visitor object
Copyright © 2001-2008 John Whaley. All Rights Reserved.