From bbd832b4800bc0d7c54d65b2d9d690316e97c6a6 Mon Sep 17 00:00:00 2001 From: mkersten Date: Fri, 25 Jul 2003 15:07:57 +0000 Subject: Fix for bug#40771 De-coupled AJDE APIs from javax.swing, and moved browser-specific funtionality into the the ajbrowser module. --- ajde/ajsrc/org/aspectj/ajde/AjdeApiRules.aj | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 ajde/ajsrc/org/aspectj/ajde/AjdeApiRules.aj (limited to 'ajde/ajsrc') 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 -- cgit v1.2.3