org.apache.bcel.generic
Class FieldInstruction
- Cloneable, IndexedInstruction, LoadClass, Serializable, TypedInstruction
public abstract class FieldInstruction
Super class for the GET/PUTxxx family of instructions.
Version:
- M. Dahm
accept, consumeStack, copy, dump, equals, getComparator, getLength, getName, getOpcode, initFromFile, produceStack, readInstruction, setComparator, toString, toString, toString |
FieldInstruction
protected FieldInstruction(short opcode,
int index)index - to constant pool
getFieldName
public String getFieldName(ConstantPoolGen cpg)
- name of referenced field.
getFieldSize
protected int getFieldSize(ConstantPoolGen cpg)
- size of field (1 or 2)
toString
public String toString(ConstantPool cp)
- toString in interface CPInstruction
- mnemonic for instruction with symbolic references resolved