Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse JDT Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.jdt.core.util
Interface IConstantValueAttribute

All Superinterfaces:
  IClassFileAttribute

public interface IConstantValueAttribute
extends IClassFileAttribute

Description of a constant value attribute as described in the JVM specifications. This interface may be implemented by clients.

Since:
  2.0

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 interface org.eclipse.jdt.core.util.IClassFileAttribute
`getAttributeLength, getAttributeName, getAttributeNameIndex`

Method Detail

### getConstantValueIndex

    public int getConstantValueIndex()

  Answer back the constant value index.

  Returns:
    the constant value index

### getConstantValue

    public IConstantPoolEntry getConstantValue()

  Answer back the constant pool entry that represents the constant value of this attribute.

  Returns:
    the constant pool entry that represents the constant value of this attribute

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse JDT Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.