|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bcel.generic.Instruction
org.apache.bcel.generic.CPInstruction
org.apache.bcel.generic.NEW
public class NEW
NEW - Create new object
Stack: ... -> ..., objectref
Field Summary |
---|
Fields inherited from class org.apache.bcel.generic.CPInstruction |
---|
index |
Fields inherited from class org.apache.bcel.generic.Instruction |
---|
length, opcode |
Constructor Summary | |
---|---|
NEW()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). |
|
NEW(int index)
|
Method Summary | |
---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s). |
java.lang.Class[] |
getExceptions()
|
ObjectType |
getLoadClassType(ConstantPoolGen cpg)
Returns the ObjectType of the referenced class or interface that may be loaded and resolved. |
Methods inherited from class org.apache.bcel.generic.CPInstruction |
---|
dump, getIndex, getType, initFromFile, setIndex, toString, toString |
Methods inherited from class org.apache.bcel.generic.Instruction |
---|
consumeStack, copy, dispose, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.bcel.generic.LoadClass |
---|
getType |
Methods inherited from interface org.apache.bcel.generic.StackProducer |
---|
produceStack |
Constructor Detail |
---|
NEW()
public NEW(int index)
Method Detail |
---|
public java.lang.Class[] getExceptions()
getExceptions
in interface ExceptionThrower
public ObjectType getLoadClassType(ConstantPoolGen cpg)
LoadClass
getLoadClassType
in interface LoadClass
public void accept(Visitor v)
accept
in class Instruction
v
- Visitor object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |