Top Description Fields Constructors Methods
org.aspectj.apache.bcel.generic

public Class FieldInstruction

extends FieldOrMethod
Class Inheritance
Imports
org.aspectj.apache.bcel.classfile.ConstantPool

Super class for the GET/PUTxxx family of instructions.
Author
M. Dahm
Version
$Id: FieldInstruction.java,v 1.7 2009/10/05 17:35:36 aclement Exp $

Field Summary

Inherited from org.aspectj.apache.bcel.generic.FieldOrMethod:
namesignature

Constructor Summary

AccessConstructor and Description
public
FieldInstruction(short opcode, int index)

Method Summary

Modifier and TypeMethod and Description
public int
public String
protected int

Returns:

size of field (1 or 2)
getFieldSize
(ConstantPool cpg)

public Type
public Type
public int
public String
Inherited from org.aspectj.apache.bcel.generic.FieldOrMethod:
getClassNamegetClassTypegetLoadClassTypegetNamegetSignature

Constructor Detail

FieldInstructionback to summary
public FieldInstruction(short opcode, int index)

Method Detail

consumeStackback to summary
public int consumeStack(ConstantPool cpg)

Overrides org.aspectj.apache.bcel.generic.Instruction.consumeStack.

Returns:int

Doc from org.aspectj.apache.bcel.generic.Instruction.consumeStack.

Number of words consumed from stack by this instruction, or Constants.UNPREDICTABLE, if this can not be computed statically

getFieldNameback to summary
public String getFieldName(ConstantPool cpg)
getFieldSizeback to summary
protected int getFieldSize(ConstantPool cpg)
Returns:int

size of field (1 or 2)

getFieldTypeback to summary
public Type getFieldType(ConstantPool cpg)
getTypeback to summary
public Type getType(ConstantPool cpg)

Overrides org.aspectj.apache.bcel.generic.InstructionCP.getType.

produceStackback to summary
public int produceStack(ConstantPool cpg)

Overrides org.aspectj.apache.bcel.generic.Instruction.produceStack.

Returns:int

Doc from org.aspectj.apache.bcel.generic.Instruction.produceStack.

Number of words produced onto stack by this instruction, or Constants.UNPREDICTABLE, if this can not be computed statically

toStringback to summary
public String toString(ConstantPool cp)

Overrides org.aspectj.apache.bcel.generic.InstructionCP.toString.

Returns:String

Doc from org.aspectj.apache.bcel.generic.InstructionCP.toString.

mnemonic for instruction with symbolic references resolved