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

LocalVariableTable_attribute Class Reference

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

Public Methods

String getLocalVariableName (cp_info constant_pool[], int idx)
String getLocalVariableName (cp_info constant_pool[], int idx, int code)

Public Attributes

int local_variable_table_length
local_variable_table_entry local_variable_table []

Detailed Description

A debugging attribute, this gives the names of local variables within blocks of bytecode.
See also:
attribute_info
Author:
Clark Verbrugge

Definition at line 116 of file LocalVariableTable_attribute.java.


Member Function Documentation

String LocalVariableTable_attribute::getLocalVariableName cp_info   constant_pool[],
int   idx,
int   code
[inline]
 

Locates the name of the given local variable for the specified code offset.

Parameters:
constant_pool   constant pool for the associated class.
idx   local variable index.
code   code offset for variable name; use -1 to return the first name found for that local variable.
Returns:
name of the local variable, or null if not found.
See also:
LocalVariableTable_attribute::getLocalVariableName(cp_info[], int)

Definition at line 139 of file LocalVariableTable_attribute.java.

String LocalVariableTable_attribute::getLocalVariableName cp_info   constant_pool[],
int   idx
[inline]
 

Locates the first name found for a given local variable.

Parameters:
constant_pool   constant pool for the associated class.
idx   local variable index.
Returns:
name of the local variable, or null if not found.
See also:
LocalVariableTable_attribute::getLocalVariableName(cp_info[], int, int)

Definition at line 128 of file LocalVariableTable_attribute.java.

Referenced by CFG::jimplify().


Member Data Documentation

local_variable_table_entry LocalVariableTable_attribute::local_variable_table[]
 

Actual table of local variables.

Definition at line 120 of file LocalVariableTable_attribute.java.

int LocalVariableTable_attribute::local_variable_table_length
 

Length of the local variable table.

Definition at line 118 of file LocalVariableTable_attribute.java.


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