public abstract class FieldInstruction extends FieldOrMethod
indexlength, opcode| Modifier | Constructor and Description |
|---|---|
(package private) |
FieldInstruction()
Empty constructor needed for Instruction.readInstruction.
|
protected |
FieldInstruction(short opcode,
int index) |
| Modifier and Type | Method and 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) |
getClassName, getClassType, getLoadClassType, getName, getReferenceType, getSignaturedump, getIndex, initFromFile, setIndex, toStringaccept, consumeStack, copy, dispose, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, setLength, setOpcode, toStringFieldInstruction()
protected 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)