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

Code_attribute Class Reference

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

Public Methods

LocalVariableTable_attribute findLocalVariableTable ()

Public Attributes

int max_stack
int max_locals
long code_length
byte code []
int exception_table_length
exception_table_entry exception_table []

Private Attributes

int attributes_count
attribute_info attributes []

Detailed Description

There should be exactly one code attribute in every method; there may also be a code attribute associated with a field (as an initializer).
See also:
attribute_info , method_info::attributes , field_info::attributes , ClassFile@attributes
Author:
Clark Verbrugge

Definition at line 128 of file Code_attribute.java.


Member Function Documentation

LocalVariableTable_attribute Code_attribute::findLocalVariableTable   [inline]
 

Locates the LocalVariableTable attribute, if one is present.

Returns:
the local variable table attribute, or null if not found.
See also:
LocalVariableTable_attribute , method_info::makeLocals

Definition at line 156 of file Code_attribute.java.

Referenced by CFG::jimplify().


Member Data Documentation

attribute_info Code_attribute::attributes[] [private]
 

Array of attributes.

See also:
attribute_info

Definition at line 149 of file Code_attribute.java.

int Code_attribute::attributes_count [private]
 

Length of attributes array.

Definition at line 145 of file Code_attribute.java.

byte Code_attribute::code[]
 

Actual array of bytecode.

Definition at line 137 of file Code_attribute.java.

long Code_attribute::code_length
 

Length of code array.

Definition at line 135 of file Code_attribute.java.

exception_table_entry Code_attribute::exception_table[]
 

Exception table array.

See also:
exception_table_entry

Definition at line 143 of file Code_attribute.java.

int Code_attribute::exception_table_length
 

Length of exception table array.

Definition at line 139 of file Code_attribute.java.

int Code_attribute::max_locals
 

Maximum number of locals required.

Definition at line 133 of file Code_attribute.java.

int Code_attribute::max_stack
 

Maximum size of the operand stack.

Definition at line 130 of file Code_attribute.java.


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