Package com.sun.ts.lib.util.sec.reflect
Class ConstantPool
java.lang.Object
com.sun.ts.lib.util.sec.reflect.ConstantPool
Provides reflective access to the constant pools of classes. Currently this is needed to provide reflective access to
annotations but may be used by other internal subsystems in the future.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClassAt
(int index) getClassAtIfLoaded
(int index) double
getDoubleAt
(int index) getFieldAt
(int index) getFieldAtIfLoaded
(int index) float
getFloatAt
(int index) int
getIntAt
(int index) long
getLongAt
(int index) String[]
getMemberRefInfoAt
(int index) getMethodAt
(int index) getMethodAtIfLoaded
(int index) int
getSize()
getStringAt
(int index) getUTF8At
(int index)
-
Constructor Details
-
ConstantPool
public ConstantPool()
-
-
Method Details
-
getSize
public int getSize() -
getClassAt
-
getClassAtIfLoaded
-
getMethodAt
-
getMethodAtIfLoaded
-
getFieldAt
-
getFieldAtIfLoaded
-
getMemberRefInfoAt
-
getIntAt
public int getIntAt(int index) -
getLongAt
public long getLongAt(int index) -
getFloatAt
public float getFloatAt(int index) -
getDoubleAt
public double getDoubleAt(int index) -
getStringAt
-
getUTF8At
-