1 package org.aspectj.apache.bcel.classfile.annotation;
3 import java.io.DataInputStream;
4 import java.io.IOException;
6 import org.aspectj.apache.bcel.Constants;
7 import org.aspectj.apache.bcel.classfile.Attribute;
8 import org.aspectj.apache.bcel.classfile.ConstantPool;
9 import org.aspectj.apache.bcel.classfile.ClassVisitor;
11 public class RuntimeVisibleParameterAnnotations extends RuntimeParameterAnnotations {
13 public RuntimeVisibleParameterAnnotations(int nameIdx, int len, ConstantPool cpool) {
14 super(Constants.ATTR_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS, true, nameIdx, len, cpool);
17 public RuntimeVisibleParameterAnnotations(int nameIndex, int len, byte[] rvaData,ConstantPool cpool) {
18 super(Constants.ATTR_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS,true,nameIndex,len,rvaData,cpool);
21 public RuntimeVisibleParameterAnnotations(int nameIdx, int len,
22 DataInputStream dis,ConstantPool cpool) throws IOException {
23 this(nameIdx, len, cpool);
24 readParameterAnnotations(dis,cpool);
27 public void accept(ClassVisitor v) {
28 v.visitRuntimeVisibleParameterAnnotations(this);
31 public Attribute copy(ConstantPool constant_pool) {
32 throw new RuntimeException("Not implemented yet!");