| 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.FieldInstructionNested Class Summary |
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 | |
| |
Method Summary | |
String | |
protected int | |
Type | |
Type |
|
String |
|
Methods inherited from class org.apache.bcel.generic.FieldOrMethod | |
getClassName, getClassType, getLoadClassType, getName, 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, consumeStack, copy, dump, equals, getComparator, getLength, getName, getOpcode, initFromFile, produceStack, readInstruction, setComparator, toString, toString, toString | |
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