Package soot.tagkit
Class AnnotationArrayElem
- java.lang.Object
-
- soot.tagkit.AnnotationElem
-
- soot.tagkit.AnnotationArrayElem
-
- All Implemented Interfaces:
Switchable
public class AnnotationArrayElem extends AnnotationElem
Represents the Array annotation element each annotation can have several elements for Java 1.5.
-
-
Constructor Summary
Constructors Constructor Description AnnotationArrayElem(ArrayList<AnnotationElem> t, char kind, String name)AnnotationArrayElem(ArrayList<AnnotationElem> types, String elemName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Called when this object is visited.booleanequals(Object obj)intgetNumValues()AnnotationElemgetValueAt(int i)ArrayList<AnnotationElem>getValues()inthashCode()StringtoString()-
Methods inherited from class soot.tagkit.AnnotationElem
getKind, getName, setName
-
-
-
-
Constructor Detail
-
AnnotationArrayElem
public AnnotationArrayElem(ArrayList<AnnotationElem> types, String elemName)
-
AnnotationArrayElem
public AnnotationArrayElem(ArrayList<AnnotationElem> t, char kind, String name)
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classAnnotationElem
-
getValues
public ArrayList<AnnotationElem> getValues()
-
getNumValues
public int getNumValues()
-
getValueAt
public AnnotationElem getValueAt(int i)
-
apply
public void apply(Switch sw)
Description copied from interface:SwitchableCalled when this object is visited.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAnnotationElem
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classAnnotationElem
-
-