alt.jiapi.file.attribute
Class ParameterAnnotationsAttribute

java.lang.Object
  extended by alt.jiapi.file.attribute.Attribute
      extended by alt.jiapi.file.attribute.AnnotationBase
          extended by alt.jiapi.file.attribute.ParameterAnnotationsAttribute

public class ParameterAnnotationsAttribute
extends AnnotationBase

RuntimeVisibleParameterAnnotations and RuntimeInvisibleParameterAnnotations attribute.

Author:
Mika Riekkinen

Nested Class Summary
 
Nested classes/interfaces inherited from class alt.jiapi.file.attribute.AnnotationBase
AnnotationBase.Annotation, AnnotationBase.Element, AnnotationBase.Value
 
Field Summary
 
Fields inherited from class alt.jiapi.file.attribute.Attribute
cp
 
Constructor Summary
ParameterAnnotationsAttribute(ConstantPool cp, short nameIndex, int length, java.io.DataInputStream dis)
           
 
Method Summary
 java.util.List[] getParameterAnnotations()
          Get parameter annotations associated with underlying method.
 java.lang.String toString()
           
 
Methods inherited from class alt.jiapi.file.attribute.AnnotationBase
readAnnotation, readElementValue
 
Methods inherited from class alt.jiapi.file.attribute.Attribute
getAttributeNameIndex, getBytes, getDataInputStream, getName, readAttribute, setConstantPool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterAnnotationsAttribute

public ParameterAnnotationsAttribute(ConstantPool cp,
                                     short nameIndex,
                                     int length,
                                     java.io.DataInputStream dis)
                              throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getParameterAnnotations

public java.util.List[] getParameterAnnotations()
Get parameter annotations associated with underlying method. Each element in array represents an method parameters annotations. I.e. parameter_annotations[0] represents annotations of 1st parameter.

Returns:
Parameter annotations

toString

public java.lang.String toString()
Overrides:
toString in class Attribute


Copyright © 2001. Documenation generated August 26 2011.