proguard.classfile.attribute.annotation
Class ParameterAnnotationsAttribute

java.lang.Object
  extended by proguard.classfile.attribute.Attribute
      extended by proguard.classfile.attribute.annotation.ParameterAnnotationsAttribute
All Implemented Interfaces:
VisitorAccepter
Direct Known Subclasses:
RuntimeInvisibleParameterAnnotationsAttribute, RuntimeVisibleParameterAnnotationsAttribute

public abstract class ParameterAnnotationsAttribute
extends Attribute

This Attribute represents a runtime parameter annotations attribute.


Field Summary
 Annotation[][] parameterAnnotations
           
 int[] u2parameterAnnotationsCount
           
 int u2parametersCount
           
 
Fields inherited from class proguard.classfile.attribute.Attribute
u2attributeNameIndex, visitorInfo
 
Constructor Summary
protected ParameterAnnotationsAttribute()
          Creates an uninitialized ParameterAnnotationsAttribute.
protected ParameterAnnotationsAttribute(int u2attributeNameIndex, int u2parametersCount, int[] u2parameterAnnotationsCount, Annotation[][] parameterAnnotations)
          Creates an initialized ParameterAnnotationsAttribute.
 
Method Summary
 void annotationsAccept(Clazz clazz, Method method, AnnotationVisitor annotationVisitor)
          Applies the given visitor to all annotations.
 
Methods inherited from class proguard.classfile.attribute.Attribute
accept, accept, accept, accept, getAttributeName, getVisitorInfo, setVisitorInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

u2parametersCount

public int u2parametersCount

u2parameterAnnotationsCount

public int[] u2parameterAnnotationsCount

parameterAnnotations

public Annotation[][] parameterAnnotations
Constructor Detail

ParameterAnnotationsAttribute

protected ParameterAnnotationsAttribute()
Creates an uninitialized ParameterAnnotationsAttribute.


ParameterAnnotationsAttribute

protected ParameterAnnotationsAttribute(int u2attributeNameIndex,
                                        int u2parametersCount,
                                        int[] u2parameterAnnotationsCount,
                                        Annotation[][] parameterAnnotations)
Creates an initialized ParameterAnnotationsAttribute.

Method Detail

annotationsAccept

public void annotationsAccept(Clazz clazz,
                              Method method,
                              AnnotationVisitor annotationVisitor)
Applies the given visitor to all annotations.