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 IConstantPool

public interface IConstantPool

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

Since:
  2.0

Method Summary
`IConstantPoolEntry` | `decodeEntry(int index)` Answer back the entry at the index @index in the constant pool.
`int` | `getConstantPoolCount()` Answer back the number of entries in the constant pool.
`int` | `getEntryKind(int index)` Answer back the type of the entry at the index @index in the constant pool.

Method Detail

### getConstantPoolCount

    public int getConstantPoolCount()

  Answer back the number of entries in the constant pool.

  Returns:
    the number of entries in the constant pool

### getEntryKind

    public int getEntryKind(int index)

  Answer back the type of the entry at the index @index in the constant pool.

  Parameters:
    `index` - the index of the entry in the constant pool
  Returns:
    the type of the entry at the index @index in the constant pool

### decodeEntry

    public IConstantPoolEntry decodeEntry(int index)

  Answer back the entry at the index @index in the constant pool.

  Parameters:
    `index` - the index of the entry in the constant pool
  Returns:
    the entry at the index @index in the constant pool

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.