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.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* *******************************************************************
  2. * Copyright (c) 2004, 2013 IBM, VMware
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v1.0
  6. * which accompanies this distribution and is available at
  7. * http://www.eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors:
  10. * Andy Clement - initial implementation {date}
  11. * ******************************************************************/
  12. package org.aspectj.apache.bcel.classfile.annotation;
  13. import java.io.DataInputStream;
  14. import java.io.IOException;
  15. import org.aspectj.apache.bcel.Constants;
  16. import org.aspectj.apache.bcel.classfile.Attribute;
  17. import org.aspectj.apache.bcel.classfile.ClassVisitor;
  18. import org.aspectj.apache.bcel.classfile.ConstantPool;
  19. public class RuntimeInvisParamAnnos extends RuntimeParamAnnos {
  20. public RuntimeInvisParamAnnos(int nameIdx, int len, ConstantPool cpool) {
  21. super(Constants.ATTR_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS, false, nameIdx, len, cpool);
  22. }
  23. public RuntimeInvisParamAnnos(int nameIdx, int len,
  24. DataInputStream dis,ConstantPool cpool) throws IOException {
  25. this(nameIdx, len, cpool);
  26. readParameterAnnotations(dis,cpool);
  27. }
  28. public RuntimeInvisParamAnnos(int nameIndex, int len, byte[] rvaData,ConstantPool cpool) {
  29. super(Constants.ATTR_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS,false,nameIndex,len,rvaData,cpool);
  30. }
  31. public void accept(ClassVisitor v) {
  32. v.visitRuntimeInvisibleParameterAnnotations(this);
  33. }
  34. public Attribute copy(ConstantPool constant_pool) {
  35. throw new RuntimeException("Not implemented yet!");
  36. }
  37. }