Package soot.tagkit
Class GenericAttribute
- java.lang.Object
-
- soot.tagkit.GenericAttribute
-
public class GenericAttribute extends Object implements Attribute
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.- See Also:
CodeAttribute
-
-
Constructor Summary
Constructors Constructor Description GenericAttribute(String name, byte[] value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns the tag name.List<UnitBox>getUnitBoxes()byte[]getValue()Returns the tag raw data.voidsetValue(byte[] value)Sets the value of the attribute from a byte[].StringtoString()
-
-
-
Constructor Detail
-
GenericAttribute
public GenericAttribute(String name, byte[] value)
-
-
Method Detail
-
getValue
public byte[] getValue()
Description copied from interface:TagReturns the tag raw data.
-
setValue
public void setValue(byte[] value)
Description copied from interface:AttributeSets the value of the attribute from a byte[].
-
-