summaryrefslogtreecommitdiffstats
path: root/tests/ltw/hier/child/Advisor.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ltw/hier/child/Advisor.aj')
-rw-r--r--tests/ltw/hier/child/Advisor.aj23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/ltw/hier/child/Advisor.aj b/tests/ltw/hier/child/Advisor.aj
new file mode 100644
index 000000000..d7b6b33ac
--- /dev/null
+++ b/tests/ltw/hier/child/Advisor.aj
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2006 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:
+ * Ron Bodkin
+ */
+package child;
+
+import util.A;
+import util.T;
+
+aspect Advisor {
+ declare parents: A* implements T;
+
+ before() : call(* T+.*(..)) {
+ System.out.println("T call");
+ }
+}