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.

EmptyVisitor.java 941B

12345678910111213141516171819202122232425262728
  1. /* *******************************************************************
  2. * Copyright (c) 2006 Contributors
  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 IBM initial implementation
  11. * ******************************************************************/
  12. package org.aspectj.weaver.asm;
  13. import org.aspectj.org.objectweb.asm.AnnotationVisitor;
  14. class EmptyVisitor implements AnnotationVisitor {
  15. public void visit(String arg0, Object arg1) {}
  16. public void visitEnum(String arg0, String arg1, String arg2) {}
  17. public AnnotationVisitor visitAnnotation(String arg0, String arg1) {return this;}
  18. public AnnotationVisitor visitArray(String arg0) {return this;}
  19. public void visitEnd() {}
  20. }