KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > aspectj > internal > lang > annotation > ajcDeclarePrecedence


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  * Adrian Colyer Initial implementation
11  * ******************************************************************/

12 package org.aspectj.internal.lang.annotation;
13
14 import java.lang.annotation.Target JavaDoc;
15 import java.lang.annotation.ElementType JavaDoc;
16 import java.lang.annotation.Retention JavaDoc;
17 import java.lang.annotation.RetentionPolicy JavaDoc;
18
19
20 /**
21  * @author colyer
22  * Marker annotation for code style declare precedence declarations
23  * ajc prefix used to indicate that this annotation is *internal*
24  * Can't use DeclarePrecedence as that has target = type and we
25  * need method to cope with the (rare) case of multiple declare
26  * precendence statements in the same aspect.
27  */

28 @Retention JavaDoc(RetentionPolicy.RUNTIME)
29 @Target JavaDoc(ElementType.METHOD)
30 public @interface ajcDeclarePrecedence {
31     String JavaDoc value();
32 }
33
Popular Tags