public class

ConstantPool

extends Object
java.lang.Object
   ↳ sun.reflect.ConstantPool

Class Overview

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.

Summary

Public Constructors
ConstantPool()
Public Methods
Class getClassAt(int index)
Class getClassAtIfLoaded(int index)
double getDoubleAt(int index)
Field getFieldAt(int index)
Field getFieldAtIfLoaded(int index)
float getFloatAt(int index)
int getIntAt(int index)
long getLongAt(int index)
String[] getMemberRefInfoAt(int index)
Member getMethodAt(int index)
Member getMethodAtIfLoaded(int index)
int getSize()
String getStringAt(int index)
String getUTF8At(int index)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ConstantPool ()

Public Methods

public Class getClassAt (int index)

public Class getClassAtIfLoaded (int index)

public double getDoubleAt (int index)

public Field getFieldAt (int index)

public Field getFieldAtIfLoaded (int index)

public float getFloatAt (int index)

public int getIntAt (int index)

public long getLongAt (int index)

public String[] getMemberRefInfoAt (int index)

public Member getMethodAt (int index)

public Member getMethodAtIfLoaded (int index)

public int getSize ()

public String getStringAt (int index)

public String getUTF8At (int index)