|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soot.tagkit.GenericAttribute
Represents a general attribute which can be attached to implementations of Host. It can be directly used to add attributes of class files, fields, and methods.
CodeAttribute
Constructor Summary | |
GenericAttribute(java.lang.String name,
byte[] value)
|
Method Summary | |
java.lang.String |
getName()
Returns the tag name. |
java.util.List |
getUnitBoxes()
|
byte[] |
getValue()
Returns the tag raw data. |
void |
setValue(byte[] value)
Sets the value of the attribute from a byte[]. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GenericAttribute(java.lang.String name, byte[] value)
Method Detail |
public java.lang.String getName()
Tag
getName
in interface Tag
public byte[] getValue()
Tag
getValue
in interface Tag
public java.lang.String toString()
toString
in class java.lang.Object
public void setValue(byte[] value)
Attribute
setValue
in interface Attribute
public java.util.List getUnitBoxes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |