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

Synthetic Class Reference

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

Public Methods

 Synthetic (int name_index, int length, byte[] bytes, ConstantPool constant_pool)
 Synthetic (Synthetic c)
void accept (Visitor v)
Attribute copy (ConstantPool constant_pool)
final void dump (DataOutputStream file) throws IOException
final byte[] getBytes ()
final void setBytes (byte[] bytes)
final String toString ()
 Synthetic (int name_index, int length, byte[] bytes, ConstantPool constant_pool)
 Synthetic (Synthetic c)
void accept (Visitor v)
Attribute copy (ConstantPool constant_pool)
final void dump (DataOutputStream file) throws IOException
final byte[] getBytes ()
final void setBytes (byte[] bytes)
final String toString ()

Private Methods

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

Private Attributes

byte[] bytes
byte[] bytes

Detailed Description

This class is derived from Attribute and declares this class as `synthetic', i.e. it needs special handling. It is instantiated from the Attribute.readAttribute() method.

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

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


Constructor & Destructor Documentation

Synthetic::Synthetic int   name_index,
int   length,
byte   bytes[],
ConstantPool   constant_pool
[inline]
 

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

Definition at line 25 of file lib/jpf/de/fub/bytecode/classfile/Synthetic.java.

Synthetic::Synthetic 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/Synthetic.java.

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

Synthetic::Synthetic int   name_index,
int   length,
byte   bytes[],
ConstantPool   constant_pool
[inline]
 

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

Definition at line 25 of file src/de/fub/bytecode/classfile/Synthetic.java.

Synthetic::Synthetic 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/Synthetic.java.

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


Member Function Documentation

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

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

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

Returns:
deep copy of this attribute

Reimplemented from Attribute.

Definition at line 70 of file src/de/fub/bytecode/classfile/Synthetic.java.

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

Returns:
deep copy of this attribute

Reimplemented from Attribute.

Definition at line 70 of file lib/jpf/de/fub/bytecode/classfile/Synthetic.java.

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

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

final byte [] Synthetic::getBytes   [inline]
 

Returns:
data bytes.

Definition at line 94 of file src/de/fub/bytecode/classfile/Synthetic.java.

final byte [] Synthetic::getBytes   [inline]
 

Returns:
data bytes.

Definition at line 94 of file lib/jpf/de/fub/bytecode/classfile/Synthetic.java.

Referenced by Synthetic().

final void Synthetic::setBytes byte   bytes[] [inline]
 

Parameters:
bytes.  

Definition at line 98 of file src/de/fub/bytecode/classfile/Synthetic.java.

final void Synthetic::setBytes byte   bytes[] [inline]
 

Parameters:
bytes.  

Definition at line 98 of file lib/jpf/de/fub/bytecode/classfile/Synthetic.java.

final String Synthetic::toString   [inline]
 

Returns:
String representation.

Reimplemented from Attribute.

Definition at line 104 of file src/de/fub/bytecode/classfile/Synthetic.java.

final String Synthetic::toString   [inline]
 

Returns:
String representation.

Reimplemented from Attribute.

Definition at line 104 of file lib/jpf/de/fub/bytecode/classfile/Synthetic.java.


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