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

Signature Class Reference

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

Public Methods

 Signature (int name_index, int length, int signature_index, ConstantPool constant_pool)
 Signature (Signature c)
void accept (Visitor v)
Attribute copy (ConstantPool constant_pool)
final void dump (DataOutputStream file) throws IOException
final String getSignature ()
final int getSignatureIndex ()
final void setSignatureIndex (int signature_index)
final String toString ()
 Signature (int name_index, int length, int signature_index, ConstantPool constant_pool)
 Signature (Signature c)
void accept (Visitor v)
Attribute copy (ConstantPool constant_pool)
final void dump (DataOutputStream file) throws IOException
final String getSignature ()
final int getSignatureIndex ()
final void setSignatureIndex (int signature_index)
final String toString ()

Static Public Methods

String getSignature (Method m)

Private Methods

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

Static Private Methods

String getArrayTypeName (Class c)
String getPrimitiveTypeName (String s)
String name (Class c)

Private Attributes

int signature_index

Detailed Description

This class is derived from Attribute and represents a reference to a <href="http://wwwipd.ira.uka.de/~pizza/gj/">GJ attribute.

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

Definition at line 14 of file lib/jpf/de/fub/bytecode/classfile/Signature.java.


Constructor & Destructor Documentation

Signature::Signature int   name_index,
int   length,
int   signature_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
Signature_index   Index in constant pool to CONSTANT_Utf8

Definition at line 23 of file lib/jpf/de/fub/bytecode/classfile/Signature.java.

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

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

Signature::Signature int   name_index,
int   length,
int   signature_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
Signature_index   Index in constant pool to CONSTANT_Utf8

Definition at line 23 of file src/de/fub/bytecode/classfile/Signature.java.

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

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


Member Function Documentation

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

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

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

Returns:
deep copy of this attribute

Reimplemented from Attribute.

Definition at line 62 of file src/de/fub/bytecode/classfile/Signature.java.

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

Returns:
deep copy of this attribute

Reimplemented from Attribute.

Definition at line 62 of file lib/jpf/de/fub/bytecode/classfile/Signature.java.

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

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

final String Signature::getSignature   [inline]
 

Returns:
GJ signature.

Definition at line 79 of file src/de/fub/bytecode/classfile/Signature.java.

final String Signature::getSignature   [inline]
 

Returns:
GJ signature.

Definition at line 79 of file lib/jpf/de/fub/bytecode/classfile/Signature.java.

final int Signature::getSignatureIndex   [inline]
 

Returns:
Index in constant pool of source file name.

Definition at line 87 of file src/de/fub/bytecode/classfile/Signature.java.

final int Signature::getSignatureIndex   [inline]
 

Returns:
Index in constant pool of source file name.

Definition at line 87 of file lib/jpf/de/fub/bytecode/classfile/Signature.java.

Referenced by Signature().

final void Signature::setSignatureIndex int   signature_index [inline]
 

Parameters:
Signature_index.  

Definition at line 91 of file src/de/fub/bytecode/classfile/Signature.java.

final void Signature::setSignatureIndex int   signature_index [inline]
 

Parameters:
Signature_index.  

Definition at line 91 of file lib/jpf/de/fub/bytecode/classfile/Signature.java.

final String Signature::toString   [inline]
 

Returns:
String representation

Reimplemented from Attribute.

Definition at line 97 of file src/de/fub/bytecode/classfile/Signature.java.

final String Signature::toString   [inline]
 

Returns:
String representation

Reimplemented from Attribute.

Definition at line 97 of file lib/jpf/de/fub/bytecode/classfile/Signature.java.


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