From 41f4946d2991fac86660982065f97e27409b9a5b Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 23 Mar 2009 16:27:31 +0000 Subject: [PATCH] 265693: model for binary elements --- .../AspectPath3/base/src/Asp2.java | 17 +++++++++++++++++ .../AspectPath3/base/src/p/Asp.java | 6 ++++++ .../AspectPath3/inc1/src/Asp2.java | 17 +++++++++++++++++ .../AspectPath4/base/src/com/foo/goo/C.java | 12 ++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 tests/multiIncremental/AspectPath3/base/src/Asp2.java create mode 100644 tests/multiIncremental/AspectPath3/base/src/p/Asp.java create mode 100644 tests/multiIncremental/AspectPath3/inc1/src/Asp2.java create mode 100644 tests/multiIncremental/AspectPath4/base/src/com/foo/goo/C.java diff --git a/tests/multiIncremental/AspectPath3/base/src/Asp2.java b/tests/multiIncremental/AspectPath3/base/src/Asp2.java new file mode 100644 index 000000000..dcaf6ca92 --- /dev/null +++ b/tests/multiIncremental/AspectPath3/base/src/Asp2.java @@ -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 index 000000000..cd47e62ea --- /dev/null +++ b/tests/multiIncremental/AspectPath3/base/src/p/Asp.java @@ -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 index 000000000..10df0557a --- /dev/null +++ b/tests/multiIncremental/AspectPath3/inc1/src/Asp2.java @@ -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 index 000000000..fbb302d64 --- /dev/null +++ b/tests/multiIncremental/AspectPath4/base/src/com/foo/goo/C.java @@ -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() {} +} -- 2.39.5