public abstract class FieldInstruction extends FieldOrMethod
index
length, 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, getSignature
dump, getIndex, initFromFile, setIndex, toString
accept, consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, toString
protected 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)
LoadClass
getType
in interface LoadClass
getType
in interface TypedInstruction
getType
in class CPInstruction
LoadClass.getLoadClassType(ConstantPoolGen)
public String toString(ConstantPool cp)
toString
in class CPInstruction
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.