Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ConstantPoolGen Class Reference

Inheritance diagram for ConstantPoolGen:
[legend]
Collaboration diagram for ConstantPoolGen:
[legend]
List of all members.

Public Methods

 ConstantPoolGen ()
 ConstantPoolGen (Constant[] cs)
 ConstantPoolGen (ConstantPool cp)
int addArrayClass (ArrayType type)
int addClass (ObjectType type)
int addClass (String str)
int addDouble (double n)
int addFieldref (String class_name, String field_name, String signature)
int addFloat (float n)
int addInteger (int n)
int addInterfaceMethodref (MethodGen method)
int addInterfaceMethodref (String class_name, String method_name, String signature)
int addLong (long n)
int addMethodref (MethodGen method)
int addMethodref (String class_name, String method_name, String signature)
int addNameAndType (String name, String signature)
int addString (String str)
int addUtf8 (String n)
Constant getConstant (int i)
ConstantPool getConstantPool ()
ConstantPool getFinalConstantPool ()
int getSize ()
int lookupClass (String str)
int lookupDouble (double n)
int lookupFieldref (String class_name, String field_name, String signature)
int lookupFloat (float n)
int lookupInteger (int n)
int lookupInterfaceMethodref (MethodGen method)
int lookupInterfaceMethodref (String class_name, String method_name, String signature)
int lookupLong (long n)
int lookupMethodref (MethodGen method)
int lookupMethodref (String class_name, String method_name, String signature)
int lookupNameAndType (String name, String signature)
int lookupString (String str)
int lookupUtf8 (String n)
void setConstant (int i, Constant c)
String toString ()
 ConstantPoolGen ()
 ConstantPoolGen (Constant[] cs)
 ConstantPoolGen (ConstantPool cp)
int addArrayClass (ArrayType type)
int addClass (ObjectType type)
int addClass (String str)
int addDouble (double n)
int addFieldref (String class_name, String field_name, String signature)
int addFloat (float n)
int addInteger (int n)
int addInterfaceMethodref (MethodGen method)
int addInterfaceMethodref (String class_name, String method_name, String signature)
int addLong (long n)
int addMethodref (MethodGen method)
int addMethodref (String class_name, String method_name, String signature)
int addNameAndType (String name, String signature)
int addString (String str)
int addUtf8 (String n)
Constant getConstant (int i)
ConstantPool getConstantPool ()
ConstantPool getFinalConstantPool ()
int getSize ()
int lookupClass (String str)
int lookupDouble (double n)
int lookupFieldref (String class_name, String field_name, String signature)
int lookupFloat (float n)
int lookupInteger (int n)
int lookupInterfaceMethodref (MethodGen method)
int lookupInterfaceMethodref (String class_name, String method_name, String signature)
int lookupLong (long n)
int lookupMethodref (MethodGen method)
int lookupMethodref (String class_name, String method_name, String signature)
int lookupNameAndType (String name, String signature)
int lookupString (String str)
int lookupUtf8 (String n)
void setConstant (int i, Constant c)
String toString ()

Protected Methods

void adjustSize ()
void adjustSize ()

Protected Attributes

int size = 1024
Constant[] constants = new Constant[size]
int index = 1
Constant[] constants = new Constant[size]

Private Methods

int addClass_ (String clazz)
int addClass_ (String clazz)

Private Attributes

Hashtable string_table = new Hashtable()
Hashtable class_table = new Hashtable()
Hashtable n_a_t_table = new Hashtable()
Hashtable cp_table = new Hashtable()

Static Private Attributes

final String METHODREF_DELIM = ":"
final String IMETHODREF_DELIM = "#"
final String FIELDREF_DELIM = "&"
final String NAT_DELIM = "%"

Detailed Description

This class is used to build up a constant pool. The user adds constants via `addXXX' methods, `addString', `addClass', etc.. These methods return an index into the constant pool. Finally, `getFinalConstantPool()' returns the constant pool built up. Intermediate versions of the constant pool can be obtained with `getConstantPool()'. A constant pool has capacity for Constants.MAX_SHORT entries. Note that the first (0) is used by the JVM and that Double and Long constants need two slots.

Version:
Id:
ConstantPoolGen.java,v 1.1.1.1 2002/01/24 03:44:04 pserver Exp
Author:
M. Dahm
See also:
Constant

Definition at line 21 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.


Constructor & Destructor Documentation

ConstantPoolGen::ConstantPoolGen   [inline]
 

Create empty constant pool.

Definition at line 42 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

ConstantPoolGen::ConstantPoolGen Constant   cs[] [inline]
 

Initialize with given array of constants.

Parameters:
c   array of given constants, new ones will be appended

Definition at line 48 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

ConstantPoolGen::ConstantPoolGen ConstantPool   cp [inline]
 

Initialize with given constant pool.

Definition at line 99 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

ConstantPoolGen::ConstantPoolGen   [inline]
 

Create empty constant pool.

Definition at line 47 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

ConstantPoolGen::ConstantPoolGen Constant   cs[] [inline]
 

Initialize with given array of constants.

Parameters:
c   array of given constants, new ones will be appended

Definition at line 53 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

ConstantPoolGen::ConstantPoolGen ConstantPool   cp [inline]
 

Initialize with given constant pool.

Definition at line 111 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.


Member Function Documentation

int ConstantPoolGen::addArrayClass ArrayType   type [inline]
 

Add a reference to an array class (e.g. String[][]) as needed by MULTIANEWARRAY instruction, e.g. to the ConstantPool.

Parameters:
type   type of array class
Returns:
index of entry

Definition at line 121 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addArrayClass ArrayType   type [inline]
 

Add a reference to an array class (e.g. String[][]) as needed by MULTIANEWARRAY instruction, e.g. to the ConstantPool.

Parameters:
type   type of array class
Returns:
index of entry

Definition at line 109 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by InstructionFactory::createCast(), and InstructionFactory::createNewArray().

int ConstantPoolGen::addClass String   str [inline]
 

Add a new Class reference to the ConstantPool, if it is not already in there.

Parameters:
str   Class to add
Returns:
index of entry

Definition at line 139 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addClass ObjectType   type [inline]
 

Add a new Class reference to the ConstantPool for a given type.

Parameters:
str   Class to add
Returns:
index of entry

Definition at line 130 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addClass String   str [inline]
 

Add a new Class reference to the ConstantPool, if it is not already in there.

Parameters:
str   Class to add
Returns:
index of entry

Definition at line 127 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addClass ObjectType   type [inline]
 

Add a new Class reference to the ConstantPool for a given type.

Parameters:
str   Class to add
Returns:
index of entry

Definition at line 118 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by ClassGen::ClassGen(), addClass(), addFieldref(), ClassGen::addInterface(), addInterfaceMethodref(), addMethodref(), InstructionFactory::createCast(), InstructionFactory::createNewArray(), CodeExceptionGen::getCodeException(), and MethodGen::getExceptionTable().

int ConstantPoolGen::addDouble double   n [inline]
 

Add a new double constant to the ConstantPool, if it is not already in there.

Parameters:
n   Double number to add
Returns:
index of entry

Definition at line 165 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addDouble double   n [inline]
 

Add a new double constant to the ConstantPool, if it is not already in there.

Parameters:
n   Double number to add
Returns:
index of entry

Definition at line 155 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by PUSH::PUSH().

int ConstantPoolGen::addFieldref String   class_name,
String   field_name,
String   signature
[inline]
 

Add a new Fieldref constant to the ConstantPool, if it is not already in there.

Parameters:
n   Fieldref string to add
Returns:
index of entry

Definition at line 186 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addFieldref String   class_name,
String   field_name,
String   signature
[inline]
 

Add a new Fieldref constant to the ConstantPool, if it is not already in there.

Parameters:
n   Fieldref string to add
Returns:
index of entry

Definition at line 176 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by InstructionFactory::createFieldAccess().

int ConstantPoolGen::addFloat float   n [inline]
 

Add a new Float constant to the ConstantPool, if it is not already in there.

Parameters:
n   Float number to add
Returns:
index of entry

Definition at line 210 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addFloat float   n [inline]
 

Add a new Float constant to the ConstantPool, if it is not already in there.

Parameters:
n   Float number to add
Returns:
index of entry

Definition at line 201 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by PUSH::PUSH().

int ConstantPoolGen::addInteger int   n [inline]
 

Add a new Integer constant to the ConstantPool, if it is not already in there.

Parameters:
n   integer number to add
Returns:
index of entry

Definition at line 229 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addInteger int   n [inline]
 

Add a new Integer constant to the ConstantPool, if it is not already in there.

Parameters:
n   integer number to add
Returns:
index of entry

Definition at line 234 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by PUSH::PUSH().

int ConstantPoolGen::addInterfaceMethodref String   class_name,
String   method_name,
String   signature
[inline]
 

Add a new InterfaceMethodref constant to the ConstantPool, if it is not already in there.

Parameters:
n   InterfaceMethodref string to add
Returns:
index of entry

Definition at line 253 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addInterfaceMethodref String   class_name,
String   method_name,
String   signature
[inline]
 

Add a new InterfaceMethodref constant to the ConstantPool, if it is not already in there.

Parameters:
n   InterfaceMethodref string to add
Returns:
index of entry

Definition at line 258 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by InstructionFactory::createInvoke().

int ConstantPoolGen::addLong long   n [inline]
 

Add a new long constant to the ConstantPool, if it is not already in there.

Parameters:
n   Long number to add
Returns:
index of entry

Definition at line 277 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addLong long   n [inline]
 

Add a new long constant to the ConstantPool, if it is not already in there.

Parameters:
n   Long number to add
Returns:
index of entry

Definition at line 281 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by PUSH::PUSH().

int ConstantPoolGen::addMethodref String   class_name,
String   method_name,
String   signature
[inline]
 

Add a new Methodref constant to the ConstantPool, if it is not already in there.

Parameters:
n   Methodref string to add
Returns:
index of entry

Definition at line 302 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addMethodref String   class_name,
String   method_name,
String   signature
[inline]
 

Add a new Methodref constant to the ConstantPool, if it is not already in there.

Parameters:
n   Methodref string to add
Returns:
index of entry

Definition at line 306 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by ClassGen::addEmptyConstructor(), and InstructionFactory::createInvoke().

int ConstantPoolGen::addNameAndType String   name,
String   signature
[inline]
 

Add a new NameAndType constant to the ConstantPool if it is not already in there.

Parameters:
n   NameAndType string to add
Returns:
index of entry

Definition at line 327 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addNameAndType String   name,
String   signature
[inline]
 

Add a new NameAndType constant to the ConstantPool if it is not already in there.

Parameters:
n   NameAndType string to add
Returns:
index of entry

Definition at line 330 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by addFieldref(), addInterfaceMethodref(), and addMethodref().

int ConstantPoolGen::addString String   str [inline]
 

Add a new String constant to the ConstantPool, if it is not already in there.

Parameters:
str   String to add
Returns:
index of entry

Definition at line 350 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addString String   str [inline]
 

Add a new String constant to the ConstantPool, if it is not already in there.

Parameters:
str   String to add
Returns:
index of entry

Definition at line 353 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by PUSH::PUSH(), and FieldGen::setInitValue().

int ConstantPoolGen::addUtf8 String   n [inline]
 

Add a new Utf8 constant to the ConstantPool, if it is not already in there.

Parameters:
n   Utf8 string to add
Returns:
index of entry

Definition at line 375 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::addUtf8 String   n [inline]
 

Add a new Utf8 constant to the ConstantPool, if it is not already in there.

Parameters:
n   Utf8 string to add
Returns:
index of entry

Definition at line 378 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by ClassGen::ClassGen(), addNameAndType(), MethodGen::getExceptionTable(), FieldGen::getField(), MethodGen::getLineNumberTable(), LocalVariableGen::getLocalVariable(), MethodGen::getLocalVariableTable(), and MethodGen::getMethod().

void ConstantPoolGen::adjustSize   [inline, protected]
 

Resize internal array of constants.

Definition at line 390 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

void ConstantPoolGen::adjustSize   [inline, protected]
 

Resize internal array of constants.

Definition at line 393 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by addDouble(), addFieldref(), addFloat(), addInteger(), addInterfaceMethodref(), addLong(), addMethodref(), addNameAndType(), addString(), and addUtf8().

Constant ConstantPoolGen::getConstant int   i [inline]
 

Parameters:
i   index in constant pool
Returns:
constant pool entry at index i

Definition at line 403 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

Constant ConstantPoolGen::getConstant int   i [inline]
 

Parameters:
i   index in constant pool
Returns:
constant pool entry at index i

Definition at line 406 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

ConstantPool ConstantPoolGen::getConstantPool   [inline]
 

Returns:
intermediate constant pool

Definition at line 407 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

ConstantPool ConstantPoolGen::getConstantPool   [inline]
 

Returns:
intermediate constant pool

Definition at line 410 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by ClassGen::ClassGen(), MethodGen::MethodGen(), FieldOrMethod::getClassName(), MethodGen::getExceptionTable(), FieldGen::getField(), MethodGen::getLineNumberTable(), LocalVariableGen::getLocalVariable(), MethodGen::getLocalVariableTable(), MethodGen::getMethod(), FieldOrMethod::getName(), FieldOrMethod::getSignature(), LDC2_W::getType(), LDC::getType(), and CPInstruction::getType().

ConstantPool ConstantPoolGen::getFinalConstantPool   [inline]
 

Returns:
constant pool with proper length

Definition at line 413 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

ConstantPool ConstantPoolGen::getFinalConstantPool   [inline]
 

Returns:
constant pool with proper length

Definition at line 416 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by ClassGen::getJavaClass().

int ConstantPoolGen::getSize   [inline]
 

Returns:
current size of constant pool

Definition at line 423 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::getSize   [inline]
 

Returns:
current size of constant pool

Definition at line 426 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::lookupClass String   str [inline]
 

Look for ConstantClass in ConstantPool named `str'.

Parameters:
str   String to search for
Returns:
index on success, -1 otherwise

Definition at line 432 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::lookupClass String   str [inline]
 

Look for ConstantClass in ConstantPool named `str'.

Parameters:
str   String to search for
Returns:
index on success, -1 otherwise

Definition at line 435 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::lookupDouble double   n [inline]
 

Look for ConstantDouble in ConstantPool.

Parameters:
n   Double number to look for
Returns:
index on success, -1 otherwise

Definition at line 442 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::lookupDouble double   n [inline]
 

Look for ConstantDouble in ConstantPool.

Parameters:
n   Double number to look for
Returns:
index on success, -1 otherwise

Definition at line 445 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by addDouble().

int ConstantPoolGen::lookupFieldref String   class_name,
String   field_name,
String   signature
[inline]
 

Look for ConstantFieldref in ConstantPool.

Parameters:
class_name   Where to find method
field_name   Guess what
signature   return and argument types
Returns:
index on success, -1 otherwise

Definition at line 462 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::lookupFieldref String   class_name,
String   field_name,
String   signature
[inline]
 

Look for ConstantFieldref in ConstantPool.

Parameters:
class_name   Where to find method
field_name   Guess what
signature   return and argument types
Returns:
index on success, -1 otherwise

Definition at line 465 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by addFieldref().

int ConstantPoolGen::lookupFloat float   n [inline]
 

Look for ConstantFloat in ConstantPool.

Parameters:
n   Float number to look for
Returns:
index on success, -1 otherwise

Definition at line 473 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::lookupFloat float   n [inline]
 

Look for ConstantFloat in ConstantPool.

Parameters:
n   Float number to look for
Returns:
index on success, -1 otherwise

Definition at line 475 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by addFloat().

int ConstantPoolGen::lookupInteger int   n [inline]
 

Look for ConstantInteger in ConstantPool.

Parameters:
n   integer number to look for
Returns:
index on success, -1 otherwise

Definition at line 491 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::lookupInteger int   n [inline]
 

Look for ConstantInteger in ConstantPool.

Parameters:
n   integer number to look for
Returns:
index on success, -1 otherwise

Definition at line 493 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by addInteger().

int ConstantPoolGen::lookupInterfaceMethodref String   class_name,
String   method_name,
String   signature
[inline]
 

Look for ConstantInterfaceMethodref in ConstantPool.

Parameters:
class_name   Where to find method
method_name   Guess what
signature   return and argument types
Returns:
index on success, -1 otherwise

Definition at line 515 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::lookupInterfaceMethodref String   class_name,
String   method_name,
String   signature
[inline]
 

Look for ConstantInterfaceMethodref in ConstantPool.

Parameters:
class_name   Where to find method
method_name   Guess what
signature   return and argument types
Returns:
index on success, -1 otherwise

Definition at line 517 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by addInterfaceMethodref().

int ConstantPoolGen::lookupLong long   n [inline]
 

Look for ConstantLong in ConstantPool.

Parameters:
n   Long number to look for
Returns:
index on success, -1 otherwise

Definition at line 526 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::lookupLong long   n [inline]
 

Look for ConstantLong in ConstantPool.

Parameters:
n   Long number to look for
Returns:
index on success, -1 otherwise

Definition at line 527 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by addLong().

int ConstantPoolGen::lookupMethodref String   class_name,
String   method_name,
String   signature
[inline]
 

Look for ConstantMethodref in ConstantPool.

Parameters:
class_name   Where to find method
method_name   Guess what
signature   return and argument types
Returns:
index on success, -1 otherwise

Definition at line 550 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::lookupMethodref String   class_name,
String   method_name,
String   signature
[inline]
 

Look for ConstantMethodref in ConstantPool.

Parameters:
class_name   Where to find method
method_name   Guess what
signature   return and argument types
Returns:
index on success, -1 otherwise

Definition at line 551 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by addMethodref().

int ConstantPoolGen::lookupNameAndType String   name,
String   signature
[inline]
 

Look for ConstantNameAndType in ConstantPool.

Parameters:
name   of variable/method
signature   of variable/method
Returns:
index on success, -1 otherwise

Definition at line 562 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::lookupNameAndType String   name,
String   signature
[inline]
 

Look for ConstantNameAndType in ConstantPool.

Parameters:
name   of variable/method
signature   of variable/method
Returns:
index on success, -1 otherwise

Definition at line 562 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by addNameAndType().

int ConstantPoolGen::lookupString String   str [inline]
 

Look for ConstantString in ConstantPool containing String `str'.

Parameters:
str   String to search for
Returns:
index on success, -1 otherwise

Definition at line 572 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::lookupString String   str [inline]
 

Look for ConstantString in ConstantPool containing String `str'.

Parameters:
str   String to search for
Returns:
index on success, -1 otherwise

Definition at line 572 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by addString().

int ConstantPoolGen::lookupUtf8 String   n [inline]
 

Look for ConstantUtf8 in ConstantPool.

Parameters:
n   Utf8 string to look for
Returns:
index on success, -1 otherwise

Definition at line 582 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

int ConstantPoolGen::lookupUtf8 String   n [inline]
 

Look for ConstantUtf8 in ConstantPool.

Parameters:
n   Utf8 string to look for
Returns:
index on success, -1 otherwise

Definition at line 582 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

Referenced by addUtf8().

void ConstantPoolGen::setConstant int   i,
Constant   c
[inline]
 

Use with care!

Parameters:
i   index in constant pool
c   new constant pool entry at index i

Definition at line 600 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

void ConstantPoolGen::setConstant int   i,
Constant   c
[inline]
 

Use with care!

Parameters:
i   index in constant pool
c   new constant pool entry at index i

Definition at line 600 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.

String ConstantPoolGen::toString   [inline]
 

Returns:
String representation.

Definition at line 604 of file src/de/fub/bytecode/generic/ConstantPoolGen.java.

String ConstantPoolGen::toString   [inline]
 

Returns:
String representation.

Definition at line 604 of file lib/jpf/de/fub/bytecode/generic/ConstantPoolGen.java.


The documentation for this class was generated from the following files:
Generated at Thu Feb 7 07:07:33 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001