java.io.Serializable, java.lang.Cloneable, IndexedInstruction, LoadClass, TypedInstructionpublic abstract class FieldInstruction extends FieldOrMethod implements TypedInstruction
indexlength, opcode| Modifier | Constructor | Description |
|---|---|---|
protected |
FieldInstruction(short opcode,
int index) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getFieldName(ConstantPoolGen cpg) |
|
protected int |
getFieldSize(ConstantPoolGen cpg) |
|
Type |
getFieldType(ConstantPoolGen cpg) |
|
Type |
getType(ConstantPoolGen cpg) |
Returns the type associated with this instruction.
|
java.lang.String |
toString(ConstantPool cp) |
dump, getIndex, initFromFile, setIndex, toStringgetClassName, getClassType, getLoadClassType, getName, getReferenceType, getSignatureaccept, consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toStringprotected FieldInstruction(short opcode,
int index)
index - to constant poolpublic java.lang.String toString(ConstantPool cp)
toString in class CPInstructionprotected int getFieldSize(ConstantPoolGen cpg)
public Type getType(ConstantPoolGen cpg)
LoadClassgetType in interface LoadClassgetType in interface TypedInstructiongetType in class CPInstructionLoadClass.getLoadClassType(ConstantPoolGen)public Type getFieldType(ConstantPoolGen cpg)
public java.lang.String getFieldName(ConstantPoolGen cpg)