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

InnerClasses Class Reference

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

Public Methods

 InnerClasses (int name_index, int length, InnerClass[] inner_classes, ConstantPool constant_pool)
 InnerClasses (InnerClasses c)
void accept (Visitor v)
Attribute copy (ConstantPool constant_pool)
final void dump (DataOutputStream file) throws IOException
final InnerClass[] getInnerClasses ()
final void setInnerClasses (InnerClass[] inner_classes)
final String toString ()
 InnerClasses (int name_index, int length, InnerClass[] inner_classes, ConstantPool constant_pool)
 InnerClasses (InnerClasses c)
void accept (Visitor v)
Attribute copy (ConstantPool constant_pool)
final void dump (DataOutputStream file) throws IOException
final InnerClass[] getInnerClasses ()
final void setInnerClasses (InnerClass[] inner_classes)
final String toString ()

Private Methods

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

Private Attributes

InnerClass[] inner_classes
int number_of_classes
InnerClass[] inner_classes

Detailed Description

This class is derived from Attribute and denotes that this class is an Inner class of another. to the source file of this class. It is instantiated from the Attribute.readAttribute() method.

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

Definition at line 16 of file lib/jpf/de/fub/bytecode/classfile/InnerClasses.java.


Constructor & Destructor Documentation

InnerClasses::InnerClasses int   name_index,
int   length,
InnerClass   inner_classes[],
ConstantPool   constant_pool
[inline]
 

Parameters:
name_index   Index in constant pool to CONSTANT_Utf8
length   Content length in bytes
inner_classes   array of inner classes attributes
constant_pool   Array of constants
sourcefile_index   Index in constant pool to CONSTANT_Utf8

Definition at line 27 of file lib/jpf/de/fub/bytecode/classfile/InnerClasses.java.

InnerClasses::InnerClasses 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 43 of file lib/jpf/de/fub/bytecode/classfile/InnerClasses.java.

InnerClasses::InnerClasses InnerClasses   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 58 of file lib/jpf/de/fub/bytecode/classfile/InnerClasses.java.

InnerClasses::InnerClasses int   name_index,
int   length,
InnerClass   inner_classes[],
ConstantPool   constant_pool
[inline]
 

Parameters:
name_index   Index in constant pool to CONSTANT_Utf8
length   Content length in bytes
inner_classes   array of inner classes attributes
constant_pool   Array of constants
sourcefile_index   Index in constant pool to CONSTANT_Utf8

Definition at line 27 of file src/de/fub/bytecode/classfile/InnerClasses.java.

InnerClasses::InnerClasses 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 43 of file src/de/fub/bytecode/classfile/InnerClasses.java.

InnerClasses::InnerClasses InnerClasses   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 58 of file src/de/fub/bytecode/classfile/InnerClasses.java.


Member Function Documentation

void InnerClasses::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 69 of file src/de/fub/bytecode/classfile/InnerClasses.java.

void InnerClasses::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 69 of file lib/jpf/de/fub/bytecode/classfile/InnerClasses.java.

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

Returns:
deep copy of this attribute

Reimplemented from Attribute.

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

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

Returns:
deep copy of this attribute

Reimplemented from Attribute.

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

final void InnerClasses::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 91 of file src/de/fub/bytecode/classfile/InnerClasses.java.

final void InnerClasses::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 91 of file lib/jpf/de/fub/bytecode/classfile/InnerClasses.java.

final InnerClass [] InnerClasses::getInnerClasses   [inline]
 

Returns:
Index in constant pool of source file name.

Definition at line 102 of file src/de/fub/bytecode/classfile/InnerClasses.java.

final InnerClass [] InnerClasses::getInnerClasses   [inline]
 

Returns:
Index in constant pool of source file name.

Definition at line 102 of file lib/jpf/de/fub/bytecode/classfile/InnerClasses.java.

Referenced by InnerClasses().

final void InnerClasses::setInnerClasses InnerClass   inner_classes[] [inline]
 

Parameters:
inner_classes.  

Definition at line 106 of file src/de/fub/bytecode/classfile/InnerClasses.java.

final void InnerClasses::setInnerClasses InnerClass   inner_classes[] [inline]
 

Parameters:
inner_classes.  

Definition at line 106 of file lib/jpf/de/fub/bytecode/classfile/InnerClasses.java.

final String InnerClasses::toString   [inline]
 

Returns:
String representation.

Reimplemented from Attribute.

Definition at line 113 of file src/de/fub/bytecode/classfile/InnerClasses.java.

final String InnerClasses::toString   [inline]
 

Returns:
String representation.

Reimplemented from Attribute.

Definition at line 113 of file lib/jpf/de/fub/bytecode/classfile/InnerClasses.java.


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