fr.umlv.corosol.classfile.constant
Interface JLoadableConstant

All Superinterfaces:
JClassFileItem, JConstant, JObject
All Known Subinterfaces:
JConstantDouble, JConstantFloat, JConstantInteger, JConstantLong, JConstantString
All Known Implementing Classes:
DefaultJConstantDouble, DefaultJConstantFloat, DefaultJConstantInteger, DefaultJConstantLong, DefaultJConstantString, JDK1_5JConstantClass

public interface JLoadableConstant
extends JConstant

A JLoadableConstant object represents a constant pool entry storing a constant value which can be pushed onto the operand stack of a stack frame.

Author:
Christophe Deleray
See Also:
JStackFrame

Field Summary
 
Fields inherited from interface fr.umlv.corosol.classfile.constant.JConstant
CONSTANT_CLASS, CONSTANT_DOUBLE, CONSTANT_FIELDREF, CONSTANT_FLOAT, CONSTANT_INTEGER, CONSTANT_INTERFACE_METHODREF, CONSTANT_LONG, CONSTANT_METHODREF, CONSTANT_NAME_AND_TYPE, CONSTANT_STRING, CONSTANT_UTF8
 
Method Summary
 void pushConstantValue(JStackFrame frame)
          Pushes the value stored by this entry onto the top of the operand stack of the specified stack frame.
 
Methods inherited from interface fr.umlv.corosol.classfile.constant.JConstant
getLength, getTag, toString
 
Methods inherited from interface fr.umlv.corosol.classfile.JClassFileItem
getConstantPool, readItem, setConstantPool, writeItem
 

Method Detail

pushConstantValue

void pushConstantValue(JStackFrame frame)
Pushes the value stored by this entry onto the top of the operand stack of the specified stack frame.

Parameters:
frame - a stack frame