sun.reflect
Class ConstantPool
java.lang.Object
sun.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantPool
public ConstantPool(Class cpoolClass)
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)
aicas GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.