diff options
author | mkersten <mkersten> | 2003-07-25 15:07:57 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2003-07-25 15:07:57 +0000 |
commit | bbd832b4800bc0d7c54d65b2d9d690316e97c6a6 (patch) | |
tree | 89d0dec27daee5980d288214a230a5e93baacd3d /ajde/ajsrc | |
parent | bcf8d044c05fb716e1161abddd18da04d2fc2364 (diff) | |
download | aspectj-bbd832b4800bc0d7c54d65b2d9d690316e97c6a6.tar.gz aspectj-bbd832b4800bc0d7c54d65b2d9d690316e97c6a6.zip |
Fix for bug#40771
De-coupled AJDE APIs from javax.swing, and moved browser-specific funtionality into the the ajbrowser module.
Diffstat (limited to 'ajde/ajsrc')
-rw-r--r-- | ajde/ajsrc/org/aspectj/ajde/AjdeApiRules.aj | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ajde/ajsrc/org/aspectj/ajde/AjdeApiRules.aj b/ajde/ajsrc/org/aspectj/ajde/AjdeApiRules.aj new file mode 100644 index 000000000..91f67ce8c --- /dev/null +++ b/ajde/ajsrc/org/aspectj/ajde/AjdeApiRules.aj @@ -0,0 +1,24 @@ +/* *******************************************************************
+ * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC),
+ * 2003 Contributors.
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Common Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ *
+ * Contributors:
+ * Xerox/PARC initial implementation
+ * AMC 01.20.2003 extended to support new AspectJ 1.1 options,
+ * bugzilla #29769
+ * ******************************************************************/
+
+public aspect AjdeApiRules {
+
+
+ declare warning:
+ call(* javax.swing..*(..)) && !within(org.aspectj.ajde.ui.swing..*):
+ "do not use Swing outside of org.aspectj.ajde.swing";
+
+}
+
\ No newline at end of file |