API to Access Constantpool
Why native method?
Constantpool belongs to Class and it is shared by
some methods
Prepared data might be useless for a method
(especially String)
There are many APIfs
int ConstantPoolValue(int index)
String ConstantPoolClass(int index)
String ConstantPoolName(int index)
byte[] ConstantPoolMethodDescriptor(int index)
byte ConstantPoolFieldDescriptor(int index)
int ConstantPoolFieldOffset(int index)
int ConstantPoolFieldAddress(int index)