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

ConstantInteger Class Reference

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

Public Methods

 ConstantInteger (int bytes)
 ConstantInteger (ConstantInteger c)
void accept (Visitor v)
final void dump (DataOutputStream file) throws IOException
final int getBytes ()
final void setBytes (int bytes)
final String toString ()
 ConstantInteger (int bytes)
 ConstantInteger (ConstantInteger c)
void accept (Visitor v)
final void dump (DataOutputStream file) throws IOException
final int getBytes ()
final void setBytes (int bytes)
final String toString ()

Private Methods

 ConstantInteger (DataInputStream file) throws IOException
 ConstantInteger (DataInputStream file) throws IOException

Private Attributes

int bytes

Detailed Description

This class is derived from the abstract Constant class and represents a reference to an int object.

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

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


Constructor & Destructor Documentation

ConstantInteger::ConstantInteger int   bytes [inline]
 

Parameters:
bytes   Data

Definition at line 21 of file lib/jpf/de/fub/bytecode/classfile/ConstantInteger.java.

ConstantInteger::ConstantInteger ConstantInteger   c [inline]
 

Initialize from another object.

Definition at line 29 of file lib/jpf/de/fub/bytecode/classfile/ConstantInteger.java.

ConstantInteger::ConstantInteger DataInputStream   file [inline, private]
 

Initialize instance from file data.

Parameters:
file   Input stream
Exceptions:
IOException  

Definition at line 38 of file lib/jpf/de/fub/bytecode/classfile/ConstantInteger.java.

ConstantInteger::ConstantInteger int   bytes [inline]
 

Parameters:
bytes   Data

Definition at line 22 of file src/de/fub/bytecode/classfile/ConstantInteger.java.

ConstantInteger::ConstantInteger ConstantInteger   c [inline]
 

Initialize from another object.

Definition at line 30 of file src/de/fub/bytecode/classfile/ConstantInteger.java.

ConstantInteger::ConstantInteger DataInputStream   file [inline, private]
 

Initialize instance from file data.

Parameters:
file   Input stream
Exceptions:
IOException  

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


Member Function Documentation

void ConstantInteger::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 Constant.

Definition at line 50 of file src/de/fub/bytecode/classfile/ConstantInteger.java.

void ConstantInteger::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 Constant.

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

final void ConstantInteger::dump DataOutputStream   file [inline, virtual]
 

Dump constant integer to file stream in binary format.

Parameters:
file   Output file stream
Exceptions:
IOException  

Reimplemented from Constant.

Definition at line 59 of file src/de/fub/bytecode/classfile/ConstantInteger.java.

final void ConstantInteger::dump DataOutputStream   file [inline, virtual]
 

Dump constant integer to file stream in binary format.

Parameters:
file   Output file stream
Exceptions:
IOException  

Reimplemented from Constant.

Definition at line 58 of file lib/jpf/de/fub/bytecode/classfile/ConstantInteger.java.

final int ConstantInteger::getBytes   [inline]
 

Returns:
data, i.e., 4 bytes.

Definition at line 67 of file src/de/fub/bytecode/classfile/ConstantInteger.java.

final int ConstantInteger::getBytes   [inline]
 

Returns:
data, i.e. 4 bytes.

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

Referenced by ConstantInteger(), and ConstantPoolGen::lookupInteger().

final void ConstantInteger::setBytes int   bytes [inline]
 

Parameters:
bytes.  

Definition at line 71 of file src/de/fub/bytecode/classfile/ConstantInteger.java.

final void ConstantInteger::setBytes int   bytes [inline]
 

Parameters:
bytes.  

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

final String ConstantInteger::toString   [inline]
 

Returns:
String representation.

Reimplemented from Constant.

Definition at line 77 of file src/de/fub/bytecode/classfile/ConstantInteger.java.

final String ConstantInteger::toString   [inline]
 

Returns:
String representation.

Reimplemented from Constant.

Definition at line 76 of file lib/jpf/de/fub/bytecode/classfile/ConstantInteger.java.


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