You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RuntimeInvisParamAnnos.java 1.2KB

12345678910111213141516171819202122232425262728293031323334
  1. package org.aspectj.apache.bcel.classfile.annotation;
  2. import java.io.DataInputStream;
  3. import java.io.IOException;
  4. import org.aspectj.apache.bcel.Constants;
  5. import org.aspectj.apache.bcel.classfile.Attribute;
  6. import org.aspectj.apache.bcel.classfile.ConstantPool;
  7. import org.aspectj.apache.bcel.classfile.ClassVisitor;
  8. public class RuntimeInvisParamAnnos extends RuntimeParamAnnos {
  9. public RuntimeInvisParamAnnos(int nameIdx, int len, ConstantPool cpool) {
  10. super(Constants.ATTR_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS, false, nameIdx, len, cpool);
  11. }
  12. public RuntimeInvisParamAnnos(int nameIdx, int len,
  13. DataInputStream dis,ConstantPool cpool) throws IOException {
  14. this(nameIdx, len, cpool);
  15. readParameterAnnotations(dis,cpool);
  16. }
  17. public RuntimeInvisParamAnnos(int nameIndex, int len, byte[] rvaData,ConstantPool cpool) {
  18. super(Constants.ATTR_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS,false,nameIndex,len,rvaData,cpool);
  19. }
  20. public void accept(ClassVisitor v) {
  21. v.visitRuntimeInvisibleParameterAnnotations(this);
  22. }
  23. public Attribute copy(ConstantPool constant_pool) {
  24. throw new RuntimeException("Not implemented yet!");
  25. }
  26. }