Package soot.tagkit
Class VisibilityParameterAnnotationTag
- java.lang.Object
-
- soot.tagkit.VisibilityParameterAnnotationTag
-
- All Implemented Interfaces:
Tag
- Direct Known Subclasses:
VisibilityLocalVariableAnnotationTag
public class VisibilityParameterAnnotationTag extends Object implements Tag
Represents the visibility of an annotation attribute attached to a class, field, method or method param (only one of these each) has one or more annotations for Java 1.5.
-
-
Constructor Summary
Constructors Constructor Description VisibilityParameterAnnotationTag(int num, int kind)NOTE: any parameter without annotations has anullentry in the list
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddVisibilityAnnotation(VisibilityAnnotationTag a)StringgetInfo()intgetKind()StringgetName()Returns the tag name.intgetNumParams()byte[]getValue()Returns the tag raw data.ArrayList<VisibilityAnnotationTag>getVisibilityAnnotations()StringtoString()
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VisibilityParameterAnnotationTag
public VisibilityParameterAnnotationTag(int num, int kind)NOTE: any parameter without annotations has anullentry in the list- Parameters:
num- total number of parameterskind- one ofAnnotationConstants
-
-
Method Detail
-
getInfo
public String getInfo()
-
getValue
public byte[] getValue()
Description copied from interface:TagReturns the tag raw data.
-
addVisibilityAnnotation
public void addVisibilityAnnotation(VisibilityAnnotationTag a)
-
getVisibilityAnnotations
public ArrayList<VisibilityAnnotationTag> getVisibilityAnnotations()
-
getKind
public int getKind()
-
getNumParams
public int getNumParams()
-
-