Class jas.CodeAttr
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jas.CodeAttr

java.lang.Object
   |
   +----jas.CodeAttr

public class CodeAttr
extends Object

Constructor Index

 o CodeAttr()
Create a new bag.

Method Index

 o addGenericAttr(GenericAttr)
Add a generic attribute to the method.
 o addInsn(Insn)
Append a new Insn to this code.
 o setCatchtable(Catchtable)
Set the catchtable for this code
 o setLineTable(LineTableAttr)
Set the line number table for this method
 o setLocalVarTable(LocalVarTableAttr)
Set the local variable information for this method
 o setStackSize(short)
 o setVarSize(short)
 o toString()

Constructors

 o CodeAttr
  public CodeAttr()
Create a new bag. Add instructions with the addInsn() method, set the catch table with the setCatchTable() method.
See Also:
Insn, Catchtable, addMethod

Methods

 o setCatchtable
  public void setCatchtable(Catchtable ctb)
Set the catchtable for this code
 o setLineTable
  public void setLineTable(LineTableAttr ltab)
Set the line number table for this method
 o setLocalVarTable
  public void setLocalVarTable(LocalVarTableAttr lvar)
Set the local variable information for this method
 o addGenericAttr
  public void addGenericAttr(GenericAttr g)
Add a generic attribute to the method. A generic attribute contains a stream of uninterpreted bytes which is ignored by the VM (as long as its name doesn't conflict with other names for attributes that are understood by the VM)
 o addInsn
  public void addInsn(Insn insn)
Append a new Insn to this code. Insn's are sequentially stored, in the order in which this method is called. You can't reorder code fragments after you've added it here.
 o setStackSize
  public void setStackSize(short stack_size)
 o setVarSize
  public void setVarSize(short num_vars)
 o toString
  public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index