public class CodeAttr extends Object
| Constructor and Description |
|---|
CodeAttr()
Create a new bag.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGenericAttr(GenericAttr g)
Add a generic attribute to the method.
|
void |
addInsn(Insn insn)
Append a new Insn to this code.
|
void |
addSootCodeAttr(String name,
String value) |
int |
getPc(Insn i) |
void |
setCatchtable(Catchtable ctb)
Set the catchtable for this code
|
void |
setLabelTable(Hashtable labelTable) |
void |
setLineTable(LineTableAttr ltab)
Set the line number table for this method
|
void |
setLocalVarTable(LocalVarTableAttr lvar)
Set the local variable information for this method
|
void |
setStackSize(short stack_size) |
void |
setVarSize(short num_vars) |
String |
toString() |
public CodeAttr()
public void setCatchtable(Catchtable ctb)
public void setLineTable(LineTableAttr ltab)
public void setLocalVarTable(LocalVarTableAttr lvar)
public void addGenericAttr(GenericAttr g)
public void setLabelTable(Hashtable labelTable)
public void addInsn(Insn insn)
public void setStackSize(short stack_size)
public void setVarSize(short num_vars)
Copyright © 2019 Sable. All rights reserved.