All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gnu.bytecode.LocalVarsAttr

java.lang.Object
   |
   +----gnu.bytecode.Attribute
           |
           +----gnu.bytecode.LocalVarsAttr

public class LocalVarsAttr
extends Attribute

Variable Index

 o current_scope

Constructor Index

 o LocalVarsAttr(CodeAttr)
Add a new LocalVarsAttr to a CodeAttr.

Method Index

 o allVars()
 o assignConstants(ClassType)
Add any needed constant pool entries for this Attribute.
 o enterScope(Scope)
 o getCount()
 o getLength()
Return the length of the attribute in bytes.
 o getMethod()
 o print(ClassTypeWriter)
 o write(DataOutputStream)
Write out the contents of the Attribute.

Variables

 o current_scope
 public Scope current_scope

Constructors

 o LocalVarsAttr
 public LocalVarsAttr(CodeAttr code)
Add a new LocalVarsAttr to a CodeAttr.

Methods

 o getMethod
 public final Method getMethod()
 o allVars
 public VarEnumerator allVars()
 o enterScope
 public void enterScope(Scope scope)
 o getCount
 public final int getCount()
 o getLength
 public final int getLength()
Return the length of the attribute in bytes.

Overrides:
getLength in class Attribute
 o assignConstants
 public void assignConstants(ClassType cl)
Add any needed constant pool entries for this Attribute.

Overrides:
assignConstants in class Attribute
 o write
 public void write(DataOutputStream dstr) throws IOException
Write out the contents of the Attribute.

Overrides:
write in class Attribute
 o print
 public void print(ClassTypeWriter dst)
Overrides:
print in class Attribute

All Packages  Class Hierarchy  This Package  Previous  Next  Index