Class ConstantPool

java.lang.Object
com.sun.ts.lib.util.sec.reflect.ConstantPool

public class ConstantPool extends Object
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 Details

    • ConstantPool

      public ConstantPool()
  • Method Details

    • getSize

      public int getSize()
    • getClassAt

      public Class getClassAt(int index)
    • getClassAtIfLoaded

      public Class getClassAtIfLoaded(int index)
    • getMethodAt

      public Member getMethodAt(int index)
    • getMethodAtIfLoaded

      public Member getMethodAtIfLoaded(int index)
    • getFieldAt

      public Field getFieldAt(int index)
    • getFieldAtIfLoaded

      public Field getFieldAtIfLoaded(int index)
    • getMemberRefInfoAt

      public String[] getMemberRefInfoAt(int index)
    • 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

      public String getStringAt(int index)
    • getUTF8At

      public String getUTF8At(int index)