Class ConstantValueAttribute
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
org.aspectj.org.eclipse.jdt.internal.core.util.ConstantValueAttribute
- All Implemented Interfaces:
IClassFileAttribute
,IConstantValueAttribute
Default implementation of IConstantValueAttribute.
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES
-
Method Summary
Modifier and TypeMethodDescriptionAnswer back the constant pool entry that represents the constant value of this attribute.int
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 Details
-
getConstantValue
Description copied from interface:IConstantValueAttribute
Answer back the constant pool entry that represents the constant value of this attribute.- Specified by:
getConstantValue
in interfaceIConstantValueAttribute
- 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 interfaceIConstantValueAttribute
- Returns:
- the constant value index
- See Also:
IConstantValueAttribute.getConstantValueIndex()
-