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

CONSTANT_String_info Class Reference

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

Public Methods

int compareTo (cp_info constant_pool[], cp_info cp, cp_info cp_constant_pool[])
int size ()
String toString (cp_info constant_pool[])
String typeName ()

Public Attributes

int string_index

Detailed Description

A constant pool entry of type CONSTANT_String.
See also:
cp_info
Author:
Clark Verbrugge

Definition at line 119 of file CONSTANT_String_info.java.


Member Function Documentation

int CONSTANT_String_info::compareTo cp_info   constant_pool[],
cp_info   cp,
cp_info   cp_constant_pool[]
[inline, virtual]
 

Compares this entry with another cp_info object (which may reside in a different constant pool).

Parameters:
constant_pool   constant pool of ClassFile for this.
cp   constant pool entry to compare against.
cp_constant_pool   constant pool of ClassFile for cp.
Returns:
a value <0, 0, or >0 indicating whether this is smaller, the same or larger than cp.
See also:
cp_info::compareTo

Reimplemented from cp_info.

Definition at line 133 of file CONSTANT_String_info.java.

int CONSTANT_String_info::size   [inline, virtual]
 

Returns the size of this cp_info object.

Returns:
number of bytes occupied by this object.
See also:
cp_info::size

Reimplemented from cp_info.

Definition at line 143 of file CONSTANT_String_info.java.

String CONSTANT_String_info::toString cp_info   constant_pool[] [inline, virtual]
 

Returns a String representation of this entry.

Parameters:
constant_pool   constant pool of ClassFile.
Returns:
String representation of this entry.
See also:
cp_info::toString

Reimplemented from cp_info.

Definition at line 149 of file CONSTANT_String_info.java.

String CONSTANT_String_info::typeName   [inline, virtual]
 

Returns a String description of what kind of entry this is.

Returns:
the String "string".
See also:
cp_info::typeName

Reimplemented from cp_info.

Definition at line 157 of file CONSTANT_String_info.java.


Member Data Documentation

int CONSTANT_String_info::string_index
 

Constant pool index of the CONSTANT_Utf8 object for the actual string.

See also:
CONSTANT_Utf8_info

Definition at line 123 of file CONSTANT_String_info.java.


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