]> source.dussan.org Git - aspectj.git/commitdiff
265693: model for binary elements
authoraclement <aclement>
Mon, 23 Mar 2009 16:27:31 +0000 (16:27 +0000)
committeraclement <aclement>
Mon, 23 Mar 2009 16:27:31 +0000 (16:27 +0000)
tests/multiIncremental/AspectPath3/base/src/Asp2.java [new file with mode: 0644]
tests/multiIncremental/AspectPath3/base/src/p/Asp.java [new file with mode: 0644]
tests/multiIncremental/AspectPath3/inc1/src/Asp2.java [new file with mode: 0644]
tests/multiIncremental/AspectPath4/base/src/com/foo/goo/C.java [new file with mode: 0644]

diff --git a/tests/multiIncremental/AspectPath3/base/src/Asp2.java b/tests/multiIncremental/AspectPath3/base/src/Asp2.java
new file mode 100644 (file)
index 0000000..dcaf6ca
--- /dev/null
@@ -0,0 +1,17 @@
+public aspect Asp2 {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ before(): execution(* fo*(..)) {}
+}
diff --git a/tests/multiIncremental/AspectPath3/base/src/p/Asp.java b/tests/multiIncremental/AspectPath3/base/src/p/Asp.java
new file mode 100644 (file)
index 0000000..cd47e62
--- /dev/null
@@ -0,0 +1,6 @@
+package pkg;
+
+public aspect Asp {
+
+ before(): execution(* fo*(..)) {}
+}
diff --git a/tests/multiIncremental/AspectPath3/inc1/src/Asp2.java b/tests/multiIncremental/AspectPath3/inc1/src/Asp2.java
new file mode 100644 (file)
index 0000000..10df055
--- /dev/null
@@ -0,0 +1,17 @@
+public aspect Asp2 {
+
+
+before(): staticinitialization(C*) {}
+
+
+
+
+
+
+
+
+
+
+
+ before(): execution(* fo*(..)) {}
+}
diff --git a/tests/multiIncremental/AspectPath4/base/src/com/foo/goo/C.java b/tests/multiIncremental/AspectPath4/base/src/com/foo/goo/C.java
new file mode 100644 (file)
index 0000000..fbb302d
--- /dev/null
@@ -0,0 +1,12 @@
+package com.foo.goo;
+import java.util.List;
+import java.lang.annotation.Retention;
+import org.aspectj.lang.annotation.Around;
+
+public class C {
+  public static void main(String []argv) {
+    new C().foo();
+  }
+
+  public void foo() {}
+}