All Packages Class Hierarchy This Package Previous Next Index
Class de.fub.bytecode.generic.FieldInstruction
java.lang.Object
|
+----de.fub.bytecode.generic.Instruction
|
+----de.fub.bytecode.generic.CPInstruction
|
+----de.fub.bytecode.generic.FieldOrMethod
|
+----de.fub.bytecode.generic.FieldInstruction
- public abstract class FieldInstruction
- extends FieldOrMethod
Super class for the GET/PUTxxx family of instructions.
- Version:
- $Id: FieldInstruction.java,v 1.6 1999/07/09 15:55:08 dahm Exp $
- Author:
- M. Dahm
-
FieldInstruction(short, int)
-
-
getFieldName(ConstantPoolGen)
-
-
getFieldSize(ConstantPoolGen)
-
-
getFieldType(ConstantPoolGen)
-
-
getType(ConstantPoolGen)
-
-
toString(ConstantPool)
-
FieldInstruction
protected FieldInstruction(short tag,
int index)
- Parameters:
- index - to constant pool
toString
public String toString(ConstantPool cp)
- Returns:
- mnemonic for instruction with symbolic references resolved
- Overrides:
- toString in class CPInstruction
getFieldSize
protected int getFieldSize(ConstantPoolGen cpg)
- Returns:
- size of field (1 or 2)
getType
public Type getType(ConstantPoolGen cpg)
- Returns:
- return type of referenced field
- Overrides:
- getType in class CPInstruction
getFieldType
public Type getFieldType(ConstantPoolGen cpg)
- Returns:
- type of field
getFieldName
public String getFieldName(ConstantPoolGen cpg)
- Returns:
- name of referenced field.
All Packages Class Hierarchy This Package Previous Next Index