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

PMGClass Class Reference

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

Public Methods

 PMGClass (int name_index, int length, int pmg_index, int pmg_class_index, ConstantPool constant_pool)
 PMGClass (PMGClass c)
void accept (Visitor v)
Attribute copy (ConstantPool constant_pool)
final void dump (DataOutputStream file) throws IOException
final int getPMGClassIndex ()
final String getPMGClassName ()
final int getPMGIndex ()
final String getPMGName ()
final void setPMGClassIndex (int pmg_class_index)
final void setPMGIndex (int pmg_index)
final String toString ()
 PMGClass (int name_index, int length, int pmg_index, int pmg_class_index, ConstantPool constant_pool)
 PMGClass (PMGClass c)
void accept (Visitor v)
Attribute copy (ConstantPool constant_pool)
final void dump (DataOutputStream file) throws IOException
final int getPMGClassIndex ()
final String getPMGClassName ()
final int getPMGIndex ()
final String getPMGName ()
final void setPMGClassIndex (int pmg_class_index)
final void setPMGIndex (int pmg_index)
final String toString ()

Private Methods

 PMGClass (int name_index, int length, DataInputStream file, ConstantPool constant_pool) throws IOException
 PMGClass (int name_index, int length, DataInputStream file, ConstantPool constant_pool) throws IOException

Private Attributes

int pmg_class_index
int pmg_index

Detailed Description

This class is derived from Attribute and represents a reference to a PMG attribute.

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

Definition at line 15 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.


Constructor & Destructor Documentation

PMGClass::PMGClass int   name_index,
int   length,
int   pmg_index,
int   pmg_class_index,
ConstantPool   constant_pool
[inline]
 

Parameters:
name_index   Index in constant pool to CONSTANT_Utf8
length   Content length in bytes
constant_pool   Array of constants
PMGClass_index   Index in constant pool to CONSTANT_Utf8

Definition at line 24 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.

PMGClass::PMGClass int   name_index,
int   length,
DataInputStream   file,
ConstantPool   constant_pool
[inline, private]
 

Construct object from file stream.

Parameters:
name_index   Index in constant pool to CONSTANT_Utf8
length   Content length in bytes
file   Input stream
constant_pool   Array of constants
Exceptions:
IOException  

Definition at line 39 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.

PMGClass::PMGClass PMGClass   c [inline]
 

Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy.

Definition at line 49 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.

PMGClass::PMGClass int   name_index,
int   length,
int   pmg_index,
int   pmg_class_index,
ConstantPool   constant_pool
[inline]
 

Parameters:
name_index   Index in constant pool to CONSTANT_Utf8
length   Content length in bytes
constant_pool   Array of constants
PMGClass_index   Index in constant pool to CONSTANT_Utf8

Definition at line 24 of file src/de/fub/bytecode/classfile/PMGClass.java.

PMGClass::PMGClass int   name_index,
int   length,
DataInputStream   file,
ConstantPool   constant_pool
[inline, private]
 

Construct object from file stream.

Parameters:
name_index   Index in constant pool to CONSTANT_Utf8
length   Content length in bytes
file   Input stream
constant_pool   Array of constants
Exceptions:
IOException  

Definition at line 39 of file src/de/fub/bytecode/classfile/PMGClass.java.

PMGClass::PMGClass PMGClass   c [inline]
 

Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy.

Definition at line 49 of file src/de/fub/bytecode/classfile/PMGClass.java.


Member Function Documentation

void PMGClass::accept Visitor   v [inline, virtual]
 

Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.

Parameters:
v   Visitor object

Reimplemented from Attribute.

Definition at line 60 of file src/de/fub/bytecode/classfile/PMGClass.java.

void PMGClass::accept Visitor   v [inline, virtual]
 

Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.

Parameters:
v   Visitor object

Reimplemented from Attribute.

Definition at line 60 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.

Attribute PMGClass::copy ConstantPool   constant_pool [inline, virtual]
 

Returns:
deep copy of this attribute

Reimplemented from Attribute.

Definition at line 66 of file src/de/fub/bytecode/classfile/PMGClass.java.

Attribute PMGClass::copy ConstantPool   constant_pool [inline, virtual]
 

Returns:
deep copy of this attribute

Reimplemented from Attribute.

Definition at line 66 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.

final void PMGClass::dump DataOutputStream   file [inline]
 

Dump source file attribute to file stream in binary format.

Parameters:
file   Output file stream
Exceptions:
IOException  

Reimplemented from Attribute.

Definition at line 75 of file src/de/fub/bytecode/classfile/PMGClass.java.

final void PMGClass::dump DataOutputStream   file [inline]
 

Dump source file attribute to file stream in binary format.

Parameters:
file   Output file stream
Exceptions:
IOException  

Reimplemented from Attribute.

Definition at line 75 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.

final int PMGClass::getPMGClassIndex   [inline]
 

Returns:
Index in constant pool of source file name.

Definition at line 84 of file src/de/fub/bytecode/classfile/PMGClass.java.

final int PMGClass::getPMGClassIndex   [inline]
 

Returns:
Index in constant pool of source file name.

Definition at line 84 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.

Referenced by PMGClass().

final String PMGClass::getPMGClassName   [inline]
 

Returns:
PMG class name.

Definition at line 88 of file src/de/fub/bytecode/classfile/PMGClass.java.

final String PMGClass::getPMGClassName   [inline]
 

Returns:
PMG class name.

Definition at line 88 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.

final int PMGClass::getPMGIndex   [inline]
 

Returns:
Index in constant pool of source file name.

Definition at line 96 of file src/de/fub/bytecode/classfile/PMGClass.java.

final int PMGClass::getPMGIndex   [inline]
 

Returns:
Index in constant pool of source file name.

Definition at line 96 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.

Referenced by PMGClass().

final String PMGClass::getPMGName   [inline]
 

Returns:
PMG name.

Definition at line 100 of file src/de/fub/bytecode/classfile/PMGClass.java.

final String PMGClass::getPMGName   [inline]
 

Returns:
PMG name.

Definition at line 100 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.

final void PMGClass::setPMGClassIndex int   pmg_class_index [inline]
 

Parameters:
PMGClass_index.  

Definition at line 108 of file src/de/fub/bytecode/classfile/PMGClass.java.

final void PMGClass::setPMGClassIndex int   pmg_class_index [inline]
 

Parameters:
PMGClass_index.  

Definition at line 108 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.

final void PMGClass::setPMGIndex int   pmg_index [inline]
 

Parameters:
PMGClass_index.  

Definition at line 114 of file src/de/fub/bytecode/classfile/PMGClass.java.

final void PMGClass::setPMGIndex int   pmg_index [inline]
 

Parameters:
PMGClass_index.  

Definition at line 114 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.

final String PMGClass::toString   [inline]
 

Returns:
String representation

Reimplemented from Attribute.

Definition at line 120 of file src/de/fub/bytecode/classfile/PMGClass.java.

final String PMGClass::toString   [inline]
 

Returns:
String representation

Reimplemented from Attribute.

Definition at line 120 of file lib/jpf/de/fub/bytecode/classfile/PMGClass.java.


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