| java.lang.Object sun.tools.java.BinaryConstantPool
BinaryConstantPool | final public class BinaryConstantPool implements Constants(Code) | | This class is used to represent a constant table once
it is read from a class file.
WARNING: The contents of this source file are not part of any
supported API. Code that depends on them does so at its own risk:
they are subject to change or removal without notice.
|
indexHashObjectindexHashAscii | Hashtable indexHashObjectindexHashAscii(Code) | | |
createIndexHash | public void createIndexHash(Environment env)(Code) | | Create a hash table of all the items in the constant pool that could
possibly be referenced from the outside.
|
getConstantType | public int getConstantType(int n)(Code) | | get the type of constant given an index
|
getDependencies | public Vector getDependencies(Environment env)(Code) | | Get a list of dependencies, ie: all the classes referenced in this
constant pool.
|
getInteger | public int getInteger(int n)(Code) | | get a integer
|
getType | public Type getType(int n)(Code) | | get a type from a type signature
|
indexObject | public int indexObject(Object obj, Environment env)(Code) | | Find the index of an Object in the constant pool
|
indexString | public int indexString(String string, Environment env)(Code) | | Find the index of an ascii string in the constant pool. If it's not in
the constant pool, then add it at the end.
|
|
|