diff options
author | aclement <aclement> | 2005-12-19 13:45:51 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-12-19 13:45:51 +0000 |
commit | 0de667394fefef642b8660e39e0e6dc723f609de (patch) | |
tree | 4acde1e39e946117433df8cd97a99d94fe71d2f7 /tests/java5/decps | |
parent | ff86d25cf8e188086666dce1e3ac70a6ac84d33a (diff) | |
download | aspectj-0de667394fefef642b8660e39e0e6dc723f609de.tar.gz aspectj-0de667394fefef642b8660e39e0e6dc723f609de.zip |
slightly modified
Diffstat (limited to 'tests/java5/decps')
-rw-r--r-- | tests/java5/decps/Basic1b.java | 2 | ||||
-rw-r--r-- | tests/java5/decps/Basic2b.java | 4 | ||||
-rw-r--r-- | tests/java5/decps/Basic3b.java | 9 |
3 files changed, 9 insertions, 6 deletions
diff --git a/tests/java5/decps/Basic1b.java b/tests/java5/decps/Basic1b.java index bdbadd9b7..46e4e9bfb 100644 --- a/tests/java5/decps/Basic1b.java +++ b/tests/java5/decps/Basic1b.java @@ -15,7 +15,7 @@ class X { interface I { } - @DeclareParents("Basic1bb") + @DeclareParents("Basic1b") private I someField; } diff --git a/tests/java5/decps/Basic2b.java b/tests/java5/decps/Basic2b.java index babd57f52..59092e5c6 100644 --- a/tests/java5/decps/Basic2b.java +++ b/tests/java5/decps/Basic2b.java @@ -14,12 +14,12 @@ public class Basic2b { interface I { } - class IIimpl implements I { + class IImpl implements I { public void m2() { } } - @DeclareParents("Basic2b",defaultimpl="IImpl") + @DeclareParents(value="Basic2b",defaultImpl=X.IImpl.class) private I simplefield;; diff --git a/tests/java5/decps/Basic3b.java b/tests/java5/decps/Basic3b.java index ab8768ac9..e2bb111d1 100644 --- a/tests/java5/decps/Basic3b.java +++ b/tests/java5/decps/Basic3b.java @@ -16,17 +16,20 @@ public class Basic3b { @Aspect class X { interface I { + public void m2(); + public void m3(); + public void m4(); } - class IIimpl implements I { + class IImpl implements I { public void m2() { } public void m3() { } public void m4() { } } - @DeclareParents("Basic3b",defaultimpl="IImpl") - private I simplefield;; + @DeclareParents(value="Basic3b",defaultImpl=IImpl.class) + private I simplefield; @Before("call(* *(..))") |