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.

CodeGenerationHint.java 1.1KB

12345678910111213141516171819202122232425262728293031323334
  1. /*******************************************************************************
  2. * Copyright (c) 2013 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. * initial implementation Andy Clement
  11. *******************************************************************************/
  12. package org.aspectj.lang.annotation.control;
  13. import java.lang.annotation.Target;
  14. import java.lang.annotation.ElementType;
  15. import java.lang.annotation.Retention;
  16. import java.lang.annotation.RetentionPolicy;
  17. /**
  18. * Provide code generation hints to the compiler (e.g. names to use for generated members).
  19. *
  20. * @author Andy Clement
  21. */
  22. @Retention(RetentionPolicy.SOURCE)
  23. @Target(ElementType.METHOD)
  24. public @interface CodeGenerationHint {
  25. /**
  26. * @return the name suffix to use for a generated member representing an if pointcut (prefix will be 'ajc$if$').
  27. * If left blank, a suffix will be generated.
  28. */
  29. String ifNameSuffix() default "";
  30. }