diff options
Diffstat (limited to 'aspectj5rt/java5-src/org/aspectj/lang/annotation')
17 files changed, 0 insertions, 644 deletions
diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/AdviceName.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/AdviceName.java deleted file mode 100644 index 779e7fee6..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/AdviceName.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Adrian Colyer initial implementation - *******************************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; - -/** - * Used to annotated code-style advice to name it - * Name is used by reflection api if present, may in future be used in adviceexecution() pcd. - * It is an error to use the @AdviceName annotation on an annotation-style advice declaration. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.METHOD) -public @interface AdviceName { - - /** - * The name of the advice - */ - String value(); -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/After.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/After.java deleted file mode 100644 index 286f9c7e5..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/After.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * initial implementation Alexandre Vasseur - *******************************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -/** - * After finally advice - * - * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.METHOD) -public @interface After { - - /** - * The pointcut expression where to bind the advice - */ - String value(); - - /** - * When compiling without debug info, or when interpreting pointcuts at runtime, - * the names of any arguments used in the advice declaration are not available. - * Under these circumstances only, it is necessary to provide the arg names in - * the annotation - these MUST duplicate the names used in the annotated method. - * Format is a simple comma-separated list. - */ - String argNames() default ""; -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterReturning.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterReturning.java deleted file mode 100644 index 397c48fc6..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterReturning.java +++ /dev/null @@ -1,52 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * initial implementation Alexandre Vasseur - *******************************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -/** - * After returning advice - * - * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.METHOD) -public @interface AfterReturning { - - /** - * The pointcut expression where to bind the advice - */ - String value() default ""; - - /** - * The pointcut expression where to bind the advice, overrides "value" when specified - */ - String pointcut() default ""; - - /** - * The name of the argument in the advice signature to bind the returned value to - */ - String returning() default ""; - - /** - * When compiling without debug info, or when interpreting pointcuts at runtime, - * the names of any arguments used in the advice declaration are not available. - * Under these circumstances only, it is necessary to provide the arg names in - * the annotation - these MUST duplicate the names used in the annotated method. - * Format is a simple comma-separated list. - */ - String argNames() default ""; - -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterThrowing.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterThrowing.java deleted file mode 100644 index 7b4d8212c..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterThrowing.java +++ /dev/null @@ -1,52 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * initial implementation Alexandre Vasseur - *******************************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -/** - * After throwing advice - * - * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.METHOD) -public @interface AfterThrowing { - - /** - * The pointcut expression where to bind the advice - */ - String value() default ""; - - /** - * The pointcut expression where to bind the advice, overrides "value" when specified - */ - String pointcut() default ""; - - /** - * The name of the argument in the advice signature to bind the thrown exception to - */ - String throwing() default ""; - - /** - * When compiling without debug info, or when interpreting pointcuts at runtime, - * the names of any arguments used in the advice declaration are not available. - * Under these circumstances only, it is necessary to provide the arg names in - * the annotation - these MUST duplicate the names used in the annotated method. - * Format is a simple comma-separated list. - */ - String argNames() default ""; - -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Around.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/Around.java deleted file mode 100644 index 253e865f6..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Around.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * initial implementation Alexandre Vasseur - *******************************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -/** - * Around advice - * - * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.METHOD) -public @interface Around { - - /** - * The pointcut expression where to bind the advice - */ - String value(); - - /** - * When compiling without debug info, or when interpreting pointcuts at runtime, - * the names of any arguments used in the advice declaration are not available. - * Under these circumstances only, it is necessary to provide the arg names in - * the annotation - these MUST duplicate the names used in the annotated method. - * Format is a simple comma-separated list. - */ - String argNames() default ""; - -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Aspect.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/Aspect.java deleted file mode 100644 index d45e85c84..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Aspect.java +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * initial implementation Alexandre Vasseur - *******************************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -/** - * Aspect declaration - * - * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface Aspect { - - /** - * Per clause expression, defaults to singleton aspect - * <p/> - * Valid values are "" (singleton), "perthis(...)", etc - */ - public String value() default ""; -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Before.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/Before.java deleted file mode 100644 index fe4b372c1..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Before.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * initial implementation Alexandre Vasseur - *******************************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -/** - * Before advice - * - * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.METHOD) -public @interface Before { - - /** - * The pointcut expression where to bind the advice - */ - String value(); - - /** - * When compiling without debug info, or when interpreting pointcuts at runtime, - * the names of any arguments used in the advice declaration are not available. - * Under these circumstances only, it is necessary to provide the arg names in - * the annotation - these MUST duplicate the names used in the annotated method. - * Format is a simple comma-separated list. - */ - String argNames() default ""; - -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareAnnotation.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareAnnotation.java deleted file mode 100644 index ffecb91a2..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareAnnotation.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * Alexandre Vasseur initial implementation - *******************************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; - -/** - * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> - */ -@Retention(RetentionPolicy.RUNTIME) -@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.CONSTRUCTOR}) -public @interface DeclareAnnotation { - - /** - * pointcut (type pattern for type, or method/ctor/field signature pattern) - */ - public String value(); - -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareError.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareError.java deleted file mode 100644 index 9f3a045ee..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareError.java +++ /dev/null @@ -1,33 +0,0 @@ -/* ******************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * Adrian Colyer Initial implementation - * ******************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * @author colyer - * Annotation for declare error... - * - * usage: @DeclareError("somePcut()") - * private static final String "a message"; - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.FIELD) -public @interface DeclareError { - /** - * The pointcut expression where to bind the error (don't use if, formal bindings, cflow etc) - */ - String value(); -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareMixin.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareMixin.java deleted file mode 100644 index f44c68195..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareMixin.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * initial implementation Andy Clement - *******************************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * DeclareMixin annotation - see design and usage in https://bugs.eclipse.org/bugs/show_bug.cgi?id=266552 - * - * <p> - * Attached to a factory method, this annotation indicates that any types matching the pattern specified in the annotation value - * will have new methods mixed in. The methods will be selected based on a combination of the return type of the factory method, - * possibly sub-setted by any list of interfaces specified in the interfaces annotation value. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.METHOD) -public @interface DeclareMixin { - - /** - * The target types expression - */ - String value(); - - /** - * Array of interfaces that are to be mixed in. This is optional and if not specified the return type of the annotated method - * will be used to determine the interface to mix in. - */ - Class[] interfaces() default { Object.class }; - -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareParents.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareParents.java deleted file mode 100644 index b7c2452e2..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareParents.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * initial implementation Adrian Colyer - *******************************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -/** - * Declare parents mixin annotation - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.FIELD) -public @interface DeclareParents { - - /** - * The target types expression - */ - String value(); - - /** - * Optional class defining default implementation - * of interface members (equivalent to defining - * a set of interface member ITDs for the - * public methods of the interface). - */ - Class defaultImpl() default DeclareParents.class; - - // note - a default of "null" is not allowed, - // hence the strange default given above. -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclarePrecedence.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclarePrecedence.java deleted file mode 100644 index e1a048819..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclarePrecedence.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * initial implementation Alexandre Vasseur - *******************************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -/** - * Aspect precedence declaration - * - * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface DeclarePrecedence { - - /** - * The precedence pattern list - */ - String value(); - -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareWarning.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareWarning.java deleted file mode 100644 index 446ac786a..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclareWarning.java +++ /dev/null @@ -1,33 +0,0 @@ -/* ******************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * Adrian Colyer Initial implementation - * ******************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * @author colyer - * Annotation for declare warning... - * - * usage: @DeclareWarning("somePcut()") - * private static final String "a message"; - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.FIELD) -public @interface DeclareWarning { - /** - * The pointcut expression where to bind the error (don't use if, formal bindings, cflow etc) - */ - String value(); -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Pointcut.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/Pointcut.java deleted file mode 100644 index 6fae1e8b9..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Pointcut.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * initial implementation Alexandre Vasseur - *******************************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -/** - * Pointcut declaration - * - * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.METHOD) -public @interface Pointcut { - - /** - * The pointcut expression - * We allow "" as default for abstract pointcut - */ - String value() default ""; - - /** - * When compiling without debug info, or when interpreting pointcuts at runtime, - * the names of any arguments used in the pointcut are not available. - * Under these circumstances only, it is necessary to provide the arg names in - * the annotation - these MUST duplicate the names used in the annotated method. - * Format is a simple comma-separated list. - */ - String argNames() default ""; -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/RequiredTypes.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/RequiredTypes.java deleted file mode 100644 index d83b1bb73..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/RequiredTypes.java +++ /dev/null @@ -1,30 +0,0 @@ -/* ******************************************************************* - * Copyright (c) 2014 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * ******************************************************************/ -package org.aspectj.lang.annotation; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * Can be specified on an aspect to ensure that particular types must be accessible before - * the aspect will be 'activated'. The array value should be a list of fully qualified - * type names as strings, for example "com.foo.Bar". Useful in an aspect library that - * includes a number of aspects, only a few of which should ever be active depending - * upon what is on the classpath. - * - * @author Andy Clement - * @since 1.8.3 - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.TYPE) -public @interface RequiredTypes { - String[] value(); -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/SuppressAjWarnings.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/SuppressAjWarnings.java deleted file mode 100644 index 8fa9c6a16..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/SuppressAjWarnings.java +++ /dev/null @@ -1,31 +0,0 @@ -/* ******************************************************************* - * Copyright (c) 2005 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * Wes Isberg initial implementation - * Andy Clement fleshed out to match SuppressWarnings - * ******************************************************************/ - - -package org.aspectj.lang.annotation; - -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -/** - * Annotate members to avoid AspectJ error messages. - * Currently supported: - * <ul> - * <li>advice that might not run (-Xlint TODO message id)</li> - * </ul> - * - */ -@Retention(RetentionPolicy.RUNTIME) -public @interface SuppressAjWarnings { - String[] value() default ""; -} diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/control/CodeGenerationHint.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/control/CodeGenerationHint.java deleted file mode 100644 index 7fe9dea24..000000000 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/control/CodeGenerationHint.java +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2013 Contributors. - * All rights reserved. - * This program and the accompanying materials are made available - * under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution and is available at - * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * initial implementation Andy Clement - *******************************************************************************/ -package org.aspectj.lang.annotation.control; - -import java.lang.annotation.Target; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -/** - * Provide code generation hints to the compiler (e.g. names to use for generated members). - * - * @author Andy Clement - */ -@Retention(RetentionPolicy.SOURCE) -@Target(ElementType.METHOD) -public @interface CodeGenerationHint { - - /** - * Defines the name suffix to use for a generated member representing an if pointcut (prefix will be 'ajc$if$'). - * If left blank, a suffix will be generated. - */ - String ifNameSuffix() default ""; - -} |