diff options
Diffstat (limited to 'org.aspectj.ajdt.core/testdata')
-rw-r--r-- | org.aspectj.ajdt.core/testdata/OutjarTest/aspects.jar | bin | 0 -> 1235 bytes | |||
-rw-r--r-- | org.aspectj.ajdt.core/testdata/OutjarTest/child.jar | bin | 0 -> 677 bytes | |||
-rw-r--r-- | org.aspectj.ajdt.core/testdata/OutjarTest/parent.jar | bin | 0 -> 589 bytes | |||
-rw-r--r-- | org.aspectj.ajdt.core/testdata/OutjarTest/src/jar1/Parent.java | 17 | ||||
-rw-r--r-- | org.aspectj.ajdt.core/testdata/OutjarTest/src/jar2/Child.java | 20 | ||||
-rw-r--r-- | org.aspectj.ajdt.core/testdata/OutjarTest/src/jar3/Aspect.aj | 22 |
6 files changed, 59 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/testdata/OutjarTest/aspects.jar b/org.aspectj.ajdt.core/testdata/OutjarTest/aspects.jar Binary files differnew file mode 100644 index 000000000..37151cc0f --- /dev/null +++ b/org.aspectj.ajdt.core/testdata/OutjarTest/aspects.jar diff --git a/org.aspectj.ajdt.core/testdata/OutjarTest/child.jar b/org.aspectj.ajdt.core/testdata/OutjarTest/child.jar Binary files differnew file mode 100644 index 000000000..df45a1dd6 --- /dev/null +++ b/org.aspectj.ajdt.core/testdata/OutjarTest/child.jar diff --git a/org.aspectj.ajdt.core/testdata/OutjarTest/parent.jar b/org.aspectj.ajdt.core/testdata/OutjarTest/parent.jar Binary files differnew file mode 100644 index 000000000..eba9b328a --- /dev/null +++ b/org.aspectj.ajdt.core/testdata/OutjarTest/parent.jar diff --git a/org.aspectj.ajdt.core/testdata/OutjarTest/src/jar1/Parent.java b/org.aspectj.ajdt.core/testdata/OutjarTest/src/jar1/Parent.java new file mode 100644 index 000000000..55ec0c902 --- /dev/null +++ b/org.aspectj.ajdt.core/testdata/OutjarTest/src/jar1/Parent.java @@ -0,0 +1,17 @@ +/******************************************************************************* + * Copyright (c) 2004 IBM Corporation and others. + * 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: + * Matthew Webster - initial implementation + *******************************************************************************/ +package jar1; + +public class Parent { + + public static void main(String[] args) { + } +} diff --git a/org.aspectj.ajdt.core/testdata/OutjarTest/src/jar2/Child.java b/org.aspectj.ajdt.core/testdata/OutjarTest/src/jar2/Child.java new file mode 100644 index 000000000..534a96a79 --- /dev/null +++ b/org.aspectj.ajdt.core/testdata/OutjarTest/src/jar2/Child.java @@ -0,0 +1,20 @@ +/******************************************************************************* + * Copyright (c) 2004 IBM Corporation and others. + * 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: + * Matthew Webster - initial implementation + *******************************************************************************/ +package jar2; + +import jar1.Parent; + +public class Child extends Parent { + + public static void main(String[] args) { + System.out.println("? Child.main()"); + } +} diff --git a/org.aspectj.ajdt.core/testdata/OutjarTest/src/jar3/Aspect.aj b/org.aspectj.ajdt.core/testdata/OutjarTest/src/jar3/Aspect.aj new file mode 100644 index 000000000..afe7cbf5d --- /dev/null +++ b/org.aspectj.ajdt.core/testdata/OutjarTest/src/jar3/Aspect.aj @@ -0,0 +1,22 @@ +/*******************************************************************************
+ * Copyright (c) 2004 IBM Corporation and others.
+ * 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:
+ * Matthew Webster - initial implementation
+ *******************************************************************************/
+package jar3;
+
+public aspect Aspect {
+
+ pointcut main () :
+ execution(* *.main(..));
+
+ after () : main () {
+ System.out.println("? Aspect.main()");
+ }
+
+}
|