fr.umlv.corosol.classfile.constant.impl
Class JDK1_5JConstantClass
java.lang.Object
fr.umlv.corosol.classfile.constant.impl.AbstractJConstant
fr.umlv.corosol.classfile.constant.impl.DefaultJConstantClass
fr.umlv.corosol.classfile.constant.impl.JDK1_5JConstantClass
- All Implemented Interfaces:
- JConstant, JConstantClass, JLoadableConstant, JClassFileItem, JObject
public class JDK1_5JConstantClass
- extends DefaultJConstantClass
- implements JLoadableConstant
The jdk 1.5 implementation of the
fr.umlv.corosol.classfile.constant.JConstantClass interface.
- Author:
- Christophe Deleray
| 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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JDK1_5JConstantClass
public JDK1_5JConstantClass()
- The default constructor.
JDK1_5JConstantClass
public JDK1_5JConstantClass(JConstantPool constantPool,
int nameIndex)
- Creates a new Constant_Class_info entry.
- Parameters:
constantPool - the constant poolnameIndex - an index of an Constant_utf8_info entry that
contains a class name
pushConstantValue
public void pushConstantValue(JStackFrame frame)
- Pushes the value onto the top of the operand stack of the
specified stack frame.
- Specified by:
pushConstantValue in interface JLoadableConstant
- Parameters:
frame - a stack frame