org.aspectj.org.eclipse.jdt.internal.core.util
Class ConstantValueAttribute

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
      extended by org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
          extended by org.aspectj.org.eclipse.jdt.internal.core.util.ConstantValueAttribute
All Implemented Interfaces:
IClassFileAttribute, IConstantValueAttribute

public class ConstantValueAttribute
extends ClassFileAttribute
implements IConstantValueAttribute

Default implementation of IConstantValueAttribute.


Field Summary
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES
 
Method Summary
 IConstantPoolEntry getConstantValue()
          Answer back the constant pool entry that represents the constant value of this attribute.
 int getConstantValueIndex()
          Answer back the constant value index.
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
 

Method Detail

getConstantValue

public IConstantPoolEntry getConstantValue()
Description copied from interface: IConstantValueAttribute
Answer back the constant pool entry that represents the constant value of this attribute.

Specified by:
getConstantValue in interface IConstantValueAttribute
Returns:
the constant pool entry that represents the constant value of this attribute
See Also:
IConstantValueAttribute.getConstantValue()

getConstantValueIndex

public int getConstantValueIndex()
Description copied from interface: IConstantValueAttribute
Answer back the constant value index.

Specified by:
getConstantValueIndex in interface IConstantValueAttribute
Returns:
the constant value index
See Also:
IConstantValueAttribute.getConstantValueIndex()