diff options
author | aclement <aclement> | 2006-07-10 07:17:02 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-07-10 07:17:02 +0000 |
commit | 0ad3ad91ae096f906b9ca964dd4cd9f1cb526a60 (patch) | |
tree | 5e7a34a7547e355e8c2a5c05657ddaa9c0a6ca4a /tests/bugs152 | |
parent | 5c20db9edf8ecda77db8ad56288f615b11db1385 (diff) | |
download | aspectj-0ad3ad91ae096f906b9ca964dd4cd9f1cb526a60.tar.gz aspectj-0ad3ad91ae096f906b9ca964dd4cd9f1cb526a60.zip |
145018: moved 152>153
Diffstat (limited to 'tests/bugs152')
-rw-r--r-- | tests/bugs152/pr145018/Broken.aj | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/tests/bugs152/pr145018/Broken.aj b/tests/bugs152/pr145018/Broken.aj deleted file mode 100644 index 373513776..000000000 --- a/tests/bugs152/pr145018/Broken.aj +++ /dev/null @@ -1,42 +0,0 @@ -import java.util.*; -import org.aspectj.lang.annotation.*; - -@Aspect -public class Broken { - - @Pointcut("call( * *.someMethod(..)) && args(arg1, arg2, arg3, status) ") - public void someMethod2( int arg1, int arg2, int arg3, Status status ) {} - - @Pointcut("someMethod2(arg1, arg2, arg3, status) && if()") - public static boolean someMethod2if(int arg1, int arg2, int arg3, Status status) { - return status.equals( Status.DELETED ); - } - - @Pointcut("cflow(execution( * *.doProcess(..) ) && args( context, *, args)) && this(SomeClass+) ") - public void inSomeClass2(Context context, Map args) {} - - @After( "inSomeClass2(context,args) && someMethod2if(arg1, arg2, arg3, status) ") - public void deleteManagerInSomeClass2( Context context, Map args, int arg1, int arg2, int arg3, Status status) { -// _log.write( DEBUG, "STATUS2: " + status ); - } -} - -class Status { - public final static int DELETED = 1; -} - -class Context {} - -class SomeClass { - - public void doProcess(Context c,Object o, Map m) { - - someMethod(1,2,3,new Status()); - someMethod(1,2,3,new Status()); - someMethod(1,2,3,new Status()); - } - - public void someMethod(int a, int b, int c, Status s) { - doProcess(null,null,null); - } -} |