|
|||||||||
| Home >> All >> Compil3r >> [ BytecodeAnalysis overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
Compil3r.BytecodeAnalysis
Class Bytecodes.TABLESWITCH

java.lang.ObjectCompil3r.BytecodeAnalysis.Bytecodes.Instruction
Compil3r.BytecodeAnalysis.Bytecodes.BranchInstruction
Compil3r.BytecodeAnalysis.Bytecodes.Select
Compil3r.BytecodeAnalysis.Bytecodes.TABLESWITCH
- All Implemented Interfaces:
- Bytecodes.InstructionTargeter, Bytecodes.StackProducer, Bytecodes.VariableLengthInstruction, java.lang.Cloneable, java.io.Serializable
- Enclosing class:
- Bytecodes
- public static class Bytecodes.TABLESWITCH
- extends Bytecodes.Select
- implements Bytecodes.VariableLengthInstruction, Bytecodes.StackProducer
- extends Bytecodes.Select
| Field Summary |
| Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Select |
fixed_length, indices, match, match_length, padding, targets |
| Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.BranchInstruction |
index, position, target |
| Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction |
length, opcode |
| Constructor Summary | |
(package private) |
Bytecodes.TABLESWITCH()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). |
|
Bytecodes.TABLESWITCH(int[] match,
java.util.ArrayList targets,
Bytecodes.InstructionHandle target)
|
| Method Summary | |
void |
accept(Bytecodes.Visitor v)
Call corresponding visitor method(s). |
void |
dump(java.io.DataOutputStream out)
Dump instruction as byte code to stream out. |
protected void |
initFromFile(Clazz.jq_ConstantPool cp,
Util.IO.ByteSequence bytes,
boolean wide)
Read needed data (e.g. |
| Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Select |
containsTarget, dispose, getIndices, getMatchs, getTargets, setTarget, toString, updatePosition, updateTarget |
| Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.BranchInstruction |
getIndex, getTarget, getTargetOffset, getTargetOffset, notifyTarget, setTarget |
| Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction |
consumeStack, copy, getLength, getOpcode, produceStack, readInstruction, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface Compil3r.BytecodeAnalysis.Bytecodes.StackProducer |
produceStack |
| Constructor Detail |
Bytecodes.TABLESWITCH
Bytecodes.TABLESWITCH()
- Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). Not to be used otherwise.
Bytecodes.TABLESWITCH
public Bytecodes.TABLESWITCH(int[] match,
java.util.ArrayList targets,
Bytecodes.InstructionHandle target)
| Method Detail |
dump
public void dump(java.io.DataOutputStream out) throws java.io.IOException
- Dump instruction as byte code to stream out.
- Overrides:
dumpin classBytecodes.Select
initFromFile
protected void initFromFile(Clazz.jq_ConstantPool cp, Util.IO.ByteSequence bytes, boolean wide) throws java.io.IOException
- Read needed data (e.g. index) from file.
- Overrides:
initFromFilein classBytecodes.Select
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:
acceptin classBytecodes.Instruction
|
|||||||||
| Home >> All >> Compil3r >> [ BytecodeAnalysis overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC