|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConstantPool
Description of a constant pool as described in the JVM specifications. This interface may be implemented by clients.
Method Summary | |
---|---|
IConstantPoolEntry |
decodeEntry(int index)
Answer back the entry at the given 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 given index in the constant pool. |
Method Detail |
---|
int getConstantPoolCount()
int getEntryKind(int index)
index
- the index of the entry in the constant pool
IConstantPoolEntry decodeEntry(int index)
The return value can be an instance of IConstantPoolEntry2
if the value returned
by getEntryKind(int)
is either IConstantPoolConstant.CONSTANT_MethodHandle
,
IConstantPoolConstant.CONSTANT_MethodType
or IConstantPoolConstant.CONSTANT_InvokeDynamic
.
index
- the index of the entry in the constant pool
|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.