aboutsummaryrefslogtreecommitdiffstats
path: root/aspectj5rt/java5-src
diff options
context:
space:
mode:
authorwisberg <wisberg>2005-02-11 05:28:21 +0000
committerwisberg <wisberg>2005-02-11 05:28:21 +0000
commit7dd69aace9cbd37d5813dd820e6a264bb5fcf6b4 (patch)
tree7c13edad2a2c263784d1416cdc892e359e69a329 /aspectj5rt/java5-src
parent885b4f017b89fc616e844472f35d2dd1c0411a83 (diff)
downloadaspectj-7dd69aace9cbd37d5813dd820e6a264bb5fcf6b4.tar.gz
aspectj-7dd69aace9cbd37d5813dd820e6a264bb5fcf6b4.zip
new module for Java5-specific additions to aspectjrt.jar. aspectjrt.jar is assemble from this and its required module runtime. It requires Java 5; Eclipse developers not using 3.1 or Java 5 should close this module. In Ant, the java5-src directory will be ignored unless Ant is run under a 1.5 or later VM. See the build docs for more details.
Diffstat (limited to 'aspectj5rt/java5-src')
-rw-r--r--aspectj5rt/java5-src/org/aspectj/lang/annotation/SuppressAJWarnings.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/SuppressAJWarnings.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/SuppressAJWarnings.java
new file mode 100644
index 000000000..615a913a4
--- /dev/null
+++ b/aspectj5rt/java5-src/org/aspectj/lang/annotation/SuppressAJWarnings.java
@@ -0,0 +1,30 @@
+/* *******************************************************************
+ * 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
+ * ******************************************************************/
+
+
+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 {
+
+}