public class ConstantPool extends Object implements Iterable<ConstantPool.ConstCell>
Modifier and Type | Class and Description |
---|---|
static class |
ConstantPool.ConstCell
ConstantCell
ConstantCell is a type of data that can be in a constant pool.
|
static class |
ConstantPool.ConstValue
ConstValue
A (typed) tagged value in the constant pool.
|
static class |
ConstantPool.ConstValue_Cell
ConstValue
A (typed) tagged value in the constant pool.
|
static class |
ConstantPool.ConstValue_CondyPair
ConstValue
A (typed) tagged value in the constant pool.
|
static class |
ConstantPool.ConstValue_IndyOrCondyPair |
static class |
ConstantPool.ConstValue_IndyPair
ConstValue
A (typed) tagged value in the constant pool.
|
static class |
ConstantPool.ConstValue_Integer
ConstValue
A (typed) tagged value in the constant pool.
|
static class |
ConstantPool.ConstValue_Long
ConstValue
A (typed) tagged value in the constant pool.
|
static class |
ConstantPool.ConstValue_Pair
ConstValue
A (typed) tagged value in the constant pool.
|
static class |
ConstantPool.ConstValue_String
ConstValue
A (typed) tagged value in the constant pool.
|
static class |
ConstantPool.ConstValue_Zero
ConstValue
A (typed) tagged value in the constant pool.
|
static class |
ConstantPool.CPTagVisitor<R>
CPVisitor
CPVisitor base class defining a visitor for decoding constants.
|
static class |
ConstantPool.CPVisitor<R>
CPVisitor
CPVisitor base class defining a visitor for decoding constants.
|
static class |
ConstantPool.ReferenceRank |
Modifier and Type | Field and Description |
---|---|
Environment |
env |
Constructor and Description |
---|
ConstantPool(Environment env)
main constructor
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Environment env
public ConstantPool(Environment env)
env
- The error reporting environmentpublic void debugStr(String s)
public Iterator<ConstantPool.ConstCell> iterator()
iterator
in interface Iterable<ConstantPool.ConstCell>
public void fixRefsInPool()
protected void CheckGlobals()
public void printPool()
protected ConstantPool.ConstCell uncheckedGetCell(int cpx)
public ConstantPool.ConstCell getCell(int cpx)
public void setCell(int cpx, ConstantPool.ConstCell cell)
protected void NumberizePool()
public ConstantPool.ConstCell FindCell(ConstantPool.ConstValue ref)
public ConstantPool.ConstCell FindCell(Tables.ConstType tag, String value)
public ConstantPool.ConstCell FindCell(Tables.ConstType tag, Integer value)
public ConstantPool.ConstCell FindCell(Tables.ConstType tag, Long value)
public ConstantPool.ConstCell FindCell(Tables.ConstType tag, ConstantPool.ConstCell value)
public ConstantPool.ConstCell FindCell(Tables.ConstType tag, ConstantPool.ConstCell left, ConstantPool.ConstCell right)
public ConstantPool.ConstCell FindCellAsciz(String str)
public ConstantPool.ConstCell FindCellClassByName(String name)
public ConstantPool.ConstCell FindCellModuleByName(String name)
public ConstantPool.ConstCell FindCellPackageByName(String name)
public void write(CheckedDataOutputStream out) throws IOException
IOException
Copyright © 2021. All Rights Reserved.