soot.tagkit
Class AnnotationTag
java.lang.Object
soot.tagkit.AnnotationTag
- All Implemented Interfaces:
- Tag
public class AnnotationTag
- extends Object
- implements Tag
Represents the annotation attribute attatched to a class, method, field,
method param - they could have many annotations each
for Java 1.5.
AnnotationTag
public AnnotationTag(String type,
int numElems)
toString
public String toString()
- Overrides:
toString
in class Object
getName
public String getName()
- Returns the tag name.
- Specified by:
getName
in interface Tag
getInfo
public String getInfo()
getType
public String getType()
getNumElems
public int getNumElems()
getValue
public byte[] getValue()
- Returns the tag raw data.
- Specified by:
getValue
in interface Tag
addElem
public void addElem(AnnotationElem elem)
setElems
public void setElems(ArrayList<AnnotationElem> list)
getElemAt
public AnnotationElem getElemAt(int i)