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.

RuntimeInvisTypeAnnos.java 1.2KB

123456789101112131415161718192021222324252627282930313233343536
  1. /* *******************************************************************
  2. * Copyright (c) 2013 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.ClassVisitor;
  17. import org.aspectj.apache.bcel.classfile.ConstantPool;
  18. public class RuntimeInvisTypeAnnos extends RuntimeTypeAnnos {
  19. public RuntimeInvisTypeAnnos(int nameIdx, int len, DataInputStream dis,
  20. ConstantPool cpool) throws IOException {
  21. this(nameIdx, len, cpool);
  22. readTypeAnnotations(dis, cpool);
  23. }
  24. public RuntimeInvisTypeAnnos(int nameIdx, int len, ConstantPool cpool) {
  25. super(Constants.ATTR_RUNTIME_INVISIBLE_TYPE_ANNOTATIONS, false, nameIdx, len, cpool);
  26. }
  27. public void accept(ClassVisitor v) {
  28. v.visitRuntimeInvisibleTypeAnnotations(this);
  29. }
  30. }