KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > aspectj > lang > annotation > SuppressAjWarnings


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  * Wes Isberg initial implementation
11  * Andy Clement fleshed out to match SuppressWarnings
12  * ******************************************************************/

13
14
15 package org.aspectj.lang.annotation;
16
17 import java.lang.annotation.Retention JavaDoc;
18 import java.lang.annotation.RetentionPolicy JavaDoc;
19
20 /**
21  * Annotate members to avoid AspectJ error messages.
22  * Currently supported:
23  * <ul>
24  * <li>advice that might not run (-Xlint TODO message id)</li>
25  * </ul>
26  *
27  */

28 @Retention JavaDoc(RetentionPolicy.RUNTIME)
29 public @interface SuppressAjWarnings {
30   String JavaDoc[] value() default "";
31 }
32
Popular Tags