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.

DeclareAnnotation.java 1.1KB

12345678910111213141516171819202122232425262728293031
  1. /*******************************************************************************
  2. * Copyright (c) 2005 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://eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors:
  10. * Alexandre Vasseur initial implementation
  11. *******************************************************************************/
  12. package org.aspectj.lang.annotation;
  13. import java.lang.annotation.Retention;
  14. import java.lang.annotation.RetentionPolicy;
  15. import java.lang.annotation.Target;
  16. import java.lang.annotation.ElementType;
  17. /**
  18. * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a>
  19. */
  20. @Retention(RetentionPolicy.RUNTIME)
  21. @Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.CONSTRUCTOR})
  22. public @interface DeclareAnnotation {
  23. /**
  24. * pointcut (type pattern for type, or method/ctor/field signature pattern)
  25. */
  26. public String value();
  27. }