public interface IConstantPool
Modifier and Type | Method and Description |
---|---|
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.
|
int getConstantPoolCount()
int getEntryKind(int index)
index
- the index of the entry in the constant poolIConstantPoolEntry 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
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.