|
|||||||||
| 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.NEWARRAY

java.lang.ObjectCompil3r.BytecodeAnalysis.Bytecodes.Instruction
Compil3r.BytecodeAnalysis.Bytecodes.NEWARRAY
- All Implemented Interfaces:
- Bytecodes.AllocationInstruction, Bytecodes.ExceptionThrower, Bytecodes.StackProducer, java.lang.Cloneable, java.io.Serializable
- Enclosing class:
- Bytecodes
- public static class Bytecodes.NEWARRAY
- extends Bytecodes.Instruction
- implements Bytecodes.AllocationInstruction, Bytecodes.ExceptionThrower, Bytecodes.StackProducer
- extends Bytecodes.Instruction
| Field Summary | |
private Clazz.jq_Array |
type
|
| Fields inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction |
length, opcode |
| Constructor Summary | |
(package private) |
Bytecodes.NEWARRAY()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). |
|
Bytecodes.NEWARRAY(byte type)
|
|
Bytecodes.NEWARRAY(Clazz.jq_Array type)
|
| 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. |
java.util.Set |
getExceptions()
|
Clazz.jq_Type |
getType()
|
byte |
getTypecode()
|
protected void |
initFromFile(Clazz.jq_ConstantPool cp,
Util.IO.ByteSequence bytes,
boolean wide)
Read needed data (e.g. |
java.lang.String |
toString(boolean verbose)
Long output format: <name of opcode> "["<opcode number>"]" "("<length of instruction>")" |
| Methods inherited from class Compil3r.BytecodeAnalysis.Bytecodes.Instruction |
consumeStack, copy, dispose, 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 |
| Field Detail |
type
private Clazz.jq_Array type
| Constructor Detail |
Bytecodes.NEWARRAY
Bytecodes.NEWARRAY()
- Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). Not to be used otherwise.
Bytecodes.NEWARRAY
public Bytecodes.NEWARRAY(byte type)
Bytecodes.NEWARRAY
public Bytecodes.NEWARRAY(Clazz.jq_Array type)
| 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.Instruction
getTypecode
public final byte getTypecode()
getType
public final Clazz.jq_Type getType()
toString
public java.lang.String toString(boolean verbose)
- Description copied from class:
Bytecodes.Instruction - Long output format:
<name of opcode> "["<opcode number>"]"
"("<length of instruction>")"
- Overrides:
toStringin classBytecodes.Instruction
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.Instruction
getExceptions
public java.util.Set getExceptions()
- Specified by:
getExceptionsin interfaceBytecodes.ExceptionThrower
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