]> source.dussan.org Git - aspectj.git/blob
b0eeea8bc689ae19ef44c74fb567a9915a9fec5c
[aspectj.git] /
1 package org.aspectj.apache.bcel.classfile.annotation;
2
3 import java.io.DataInputStream;
4 import java.io.IOException;
5
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;
10
11 public class RuntimeVisibleParameterAnnotations extends RuntimeParameterAnnotations {
12         
13           public RuntimeVisibleParameterAnnotations(int nameIdx, int len, ConstantPool cpool) { 
14             super(Constants.ATTR_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS, true, nameIdx, len, cpool);
15           }
16           
17           public RuntimeVisibleParameterAnnotations(int nameIndex, int len, byte[] rvaData,ConstantPool cpool) {
18                 super(Constants.ATTR_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS,true,nameIndex,len,rvaData,cpool);
19           }
20
21           public RuntimeVisibleParameterAnnotations(int nameIdx, int len, 
22                         DataInputStream dis,ConstantPool cpool) throws IOException {
23             this(nameIdx, len, cpool);
24             readParameterAnnotations(dis,cpool);
25           }
26
27           public void accept(ClassVisitor v) {
28                 v.visitRuntimeVisibleParameterAnnotations(this);
29           }
30
31           public Attribute copy(ConstantPool constant_pool) {
32                 throw new RuntimeException("Not implemented yet!");
33           }
34 }