org.apache.bcel.generic
Class LOOKUPSWITCH
- Cloneable, InstructionTargeter, Serializable, StackProducer, VariableLengthInstruction
public class LOOKUPSWITCH
LOOKUPSWITCH - Switch with unordered set of values
$Id: LOOKUPSWITCH.java 386056 2006-03-15 11:31:56Z tcurdt $
void | accept(Visitor v) - Call corresponding visitor method(s).
|
void | dump(DataOutputStream out) - Dump instruction as byte code to stream out.
|
protected void | initFromFile(ByteSequence bytes, boolean wide) - Read needed data (e.g.
|
clone , containsTarget , dispose , dump , getIndices , getMatchs , getTargets , initFromFile , setTarget , toString , updatePosition , updateTarget |
containsTarget , dispose , dump , getIndex , getTarget , getTargetOffset , getTargetOffset , initFromFile , notifyTarget , setTarget , toString , updatePosition , updateTarget |
accept , className , consumeStack , copy , dispose , dump , equals , getComparator , getLength , getName , getOpcode , initFromFile , produceStack , readInstruction , setComparator , setOpcode , toString , toString , toString |
LOOKUPSWITCH
(package private) LOOKUPSWITCH()
Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). Not to be used otherwise.
accept
public void accept(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.
- accept in interface Instruction
dump
public void dump(DataOutputStream out)
throws IOException
Dump instruction as byte code to stream out.
- dump in interface Select
initFromFile
protected void initFromFile(ByteSequence bytes,
boolean wide)
throws IOException
Read needed data (e.g. index) from file.
- initFromFile in interface Select