|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsoot.tagkit.JasminAttribute
soot.tagkit.CodeAttribute
A CodeAttribute object holds PC -> Tag pairs. It represents abstracted attributes of Code_attribute such as LineNumberTable, ArrayBoundsCheck.
Field Summary | |
protected List |
mTags
|
protected List |
mUnits
|
Constructor Summary | |
CodeAttribute()
|
|
CodeAttribute(String name)
Creates an attribute object with the given name. |
|
CodeAttribute(String name,
List units,
List tags)
Create an attribute object with the name and lists of unit-tag pairs. |
Method Summary | |
byte[] |
decode(String attr,
Hashtable labelToPc)
|
String |
getJasminValue(Map instToLabel)
Generates Jasmin Value String |
String |
getName()
Returns the attribute name. |
List |
getUnitBoxes()
Returns a list of unit boxes that have tags attached. |
byte[] |
getValue()
Also only used as setValue(). |
void |
setValue(byte[] v)
Only used by SOOT to read in an existing attribute without interpret it. |
String |
toString()
Returns the name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected List mUnits
protected List mTags
Constructor Detail |
public CodeAttribute()
public CodeAttribute(String name)
public CodeAttribute(String name, List units, List tags)
Method Detail |
public String toString()
public String getName()
public void setValue(byte[] v)
public byte[] getValue() throws AttributeValueException
AttributeValueException
public String getJasminValue(Map instToLabel)
getJasminValue
in class JasminAttribute
public List getUnitBoxes()
public byte[] decode(String attr, Hashtable labelToPc)
decode
in class JasminAttribute
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |