|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--soot.tagkit.JasminAttribute
|
+--soot.tagkit.CodeAttribute
A CodeAttribute object holds PC -> Tag pairs.
| Constructor Summary | |
CodeAttribute()
|
|
CodeAttribute(java.lang.String name)
Creates an attribute object with the given name. |
|
CodeAttribute(java.lang.String name,
java.util.List units,
java.util.List tags)
Create an attribute object with the name and lists of unit-tag pairs. |
|
| Method Summary | |
java.lang.String |
getJasminValue(java.util.Map instToLabel)
Generates Jasmin Value String |
java.lang.String |
getName()
Returns the attribute name. |
java.util.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. |
java.lang.String |
toString()
Returns the name. |
| Methods inherited from class soot.tagkit.JasminAttribute |
decode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CodeAttribute()
public CodeAttribute(java.lang.String name)
public CodeAttribute(java.lang.String name,
java.util.List units,
java.util.List tags)
| Method Detail |
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
public void setValue(byte[] v)
public byte[] getValue()
throws AttributeValueException
public java.lang.String getJasminValue(java.util.Map instToLabel)
getJasminValue in class JasminAttributepublic java.util.List getUnitBoxes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||