public abstract class FieldInstruction extends FieldOrMethod
indexlength, opcode| Modifier | Constructor and Description |
|---|---|
protected |
FieldInstruction(short opcode,
int index) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFieldName(ConstantPoolGen cpg) |
protected int |
getFieldSize(ConstantPoolGen cpg) |
Type |
getFieldType(ConstantPoolGen cpg) |
Type |
getType(ConstantPoolGen cpg)
Returns the type associated with this instruction.
|
String |
toString(ConstantPool cp) |
getClassName, getClassType, getLoadClassType, getName, getReferenceType, getSignaturedump, getIndex, initFromFile, setIndex, toStringaccept, consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, toStringprotected FieldInstruction(short opcode, int index)
index - to constant poolpublic String getFieldName(ConstantPoolGen cpg)
protected int getFieldSize(ConstantPoolGen cpg)
public Type getFieldType(ConstantPoolGen cpg)
public Type getType(ConstantPoolGen cpg)
LoadClassgetType in interface LoadClassgetType in interface TypedInstructiongetType in class CPInstructionLoadClass.getLoadClassType(ConstantPoolGen)public String toString(ConstantPool cp)
toString in class CPInstructionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.