Class ConstantValue
java.lang.Object
org.aspectj.apache.bcel.classfile.Attribute
org.aspectj.apache.bcel.classfile.ConstantValue
- All Implemented Interfaces:
Serializable, Cloneable, Node
This class is derived from Attribute and represents a constant value, i.e., a default value for initializing a class
field. This class is instantiated by the Attribute.readAttribute() method.
- Version:
- $Id: ConstantValue.java,v 1.6 2009/09/16 00:43:49 aclement Exp $
- Author:
- M. Dahm
- See Also:
-
Field Summary
Fields inherited from class Attribute
cpool, length, nameIndex, NoAttributes, tagModifier and TypeFieldDescriptionprotected ConstantPoolprotected intprotected intstatic final Attribute[]protected byte -
Constructor Summary
ConstructorsConstructorDescriptionConstantValue(int name_index, int length, int constantvalue_index, ConstantPool constant_pool) -
Method Summary
Modifier and TypeMethodDescriptionvoidfinal voiddump(DataOutputStream file) final intfinal StringtoString()Methods inherited from class Attribute
getConstantPool, getLength, getName, getNameIndex, getTag, readAttributeModifier and TypeMethodDescriptionfinal ConstantPoolfinal intgetName()final intfinal bytegetTag()static final AttributereadAttribute(DataInputStream file, ConstantPool cpool)
-
Constructor Details
-
ConstantValue
public ConstantValue(int name_index, int length, int constantvalue_index, ConstantPool constant_pool)
-
-
Method Details