| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.bcel.generic.Instructionorg.apache.bcel.generic.CPInstructionorg.apache.bcel.generic.FieldOrMethodorg.apache.bcel.generic.FieldInstructionField Summary |
Fields inherited from class org.apache.bcel.generic.CPInstruction | |
index | |
Fields inherited from class org.apache.bcel.generic.Instruction | |
cmp, length, opcode | |
Constructor Summary | |
| |
| |
Method Summary | |
String | |
protected int | |
Type | |
Type |
|
String |
|
Methods inherited from class org.apache.bcel.generic.FieldOrMethod | |
getClassName, getClassType, getLoadClassType, getName, getReferenceType, getSignature | |
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 | |
accept, className, consumeStack, copy, dispose, dump, equals, getComparator, getLength, getName, getOpcode, initFromFile, produceStack, readInstruction, setComparator, setOpcode, toString, toString, toString | |
(package private) FieldInstruction()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.
protected FieldInstruction(short opcode,
int index)
- Parameters:
index- to constant pool
public Type getType(ConstantPoolGen cpg)
- Specified by:
- getType in interface TypedInstruction
- getType in interface LoadClass
- Overrides:
- getType in interface CPInstruction
- Returns:
- return type of referenced field
public String toString(ConstantPool cp)
- Overrides:
- toString in interface CPInstruction
- Returns:
- mnemonic for instruction with symbolic references resolved