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

CONSTANT_NameAndType_info Class Reference

Inheritance diagram for CONSTANT_NameAndType_info:
[legend]
Collaboration diagram for CONSTANT_NameAndType_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 name_index
int descriptor_index

Detailed Description

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

Definition at line 119 of file CONSTANT_NameAndType_info.java.


Member Function Documentation

int CONSTANT_NameAndType_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 137 of file CONSTANT_NameAndType_info.java.

int CONSTANT_NameAndType_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 151 of file CONSTANT_NameAndType_info.java.

String CONSTANT_NameAndType_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 157 of file CONSTANT_NameAndType_info.java.

Referenced by CONSTANT_Methodref_info::toString(), CONSTANT_InterfaceMethodref_info::toString(), and CONSTANT_Fieldref_info::toString().

String CONSTANT_NameAndType_info::typeName   [inline, virtual]
 

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

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

Reimplemented from cp_info.

Definition at line 166 of file CONSTANT_NameAndType_info.java.


Member Data Documentation

int CONSTANT_NameAndType_info::descriptor_index
 

Constant pool index of the CONSTANT_Utf8 object for the descriptor.

See also:
CONSTANT_Utf8_info

Definition at line 127 of file CONSTANT_NameAndType_info.java.

int CONSTANT_NameAndType_info::name_index
 

Constant pool index of the CONSTANT_Utf8 object for the name.

See also:
CONSTANT_Utf8_info

Definition at line 123 of file CONSTANT_NameAndType_info.java.


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