aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs163
diff options
context:
space:
mode:
authoraclement <aclement>2009-01-29 04:00:10 +0000
committeraclement <aclement>2009-01-29 04:00:10 +0000
commit377069ffe18e73576d225a329b154ec319a4c6ce (patch)
treed3f2b273f4010b70060682fe0d73d96b5980d13e /tests/bugs163
parentfedb620ccb3b5e2235e70be07153aaceaf3b5cf4 (diff)
downloadaspectj-377069ffe18e73576d225a329b154ec319a4c6ce.tar.gz
aspectj-377069ffe18e73576d225a329b154ec319a4c6ce.zip
194314: moved to 164
Diffstat (limited to 'tests/bugs163')
-rw-r--r--tests/bugs163/pr194314/IService.java4
-rw-r--r--tests/bugs163/pr194314/Main.java8
-rw-r--r--tests/bugs163/pr194314/Service.java7
-rw-r--r--tests/bugs163/pr194314/ServiceInterceptor.java17
-rw-r--r--tests/bugs163/pr194314/ServiceInterceptorCodeStyle.java15
5 files changed, 0 insertions, 51 deletions
diff --git a/tests/bugs163/pr194314/IService.java b/tests/bugs163/pr194314/IService.java
deleted file mode 100644
index ed383d0e6..000000000
--- a/tests/bugs163/pr194314/IService.java
+++ /dev/null
@@ -1,4 +0,0 @@
-
-public interface IService {
- void method(long l) throws Exception;
-}
diff --git a/tests/bugs163/pr194314/Main.java b/tests/bugs163/pr194314/Main.java
deleted file mode 100644
index f90107620..000000000
--- a/tests/bugs163/pr194314/Main.java
+++ /dev/null
@@ -1,8 +0,0 @@
-
-public class Main {
-
- public static void main(String[] args) throws Exception {
- IService service = new Service();
- service.method(42L);
- }
-}
diff --git a/tests/bugs163/pr194314/Service.java b/tests/bugs163/pr194314/Service.java
deleted file mode 100644
index f3302fa40..000000000
--- a/tests/bugs163/pr194314/Service.java
+++ /dev/null
@@ -1,7 +0,0 @@
-
-public class Service implements IService {
-
- public void method(long l) throws Exception {
- System.err.println("Original impl of service method, arg " + l);
- }
-}
diff --git a/tests/bugs163/pr194314/ServiceInterceptor.java b/tests/bugs163/pr194314/ServiceInterceptor.java
deleted file mode 100644
index 00bb779fd..000000000
--- a/tests/bugs163/pr194314/ServiceInterceptor.java
+++ /dev/null
@@ -1,17 +0,0 @@
-
-import org.aspectj.lang.ProceedingJoinPoint;
-import org.aspectj.lang.annotation.Around;
-import org.aspectj.lang.annotation.Aspect;
-
-@Aspect
-public class ServiceInterceptor {
-
- @Around("execution(void test.Service.method(long))")
- public void method(ProceedingJoinPoint pjp) throws Throwable {
- Object[] args = pjp.getArgs();
- long id = (Long) args[0];
- System.out.println("in advice, arg = " + id + " (before proceed)");
- pjp.proceed(pjp.getArgs());
- System.out.println("in advice (after proceed)");
- }
-}
diff --git a/tests/bugs163/pr194314/ServiceInterceptorCodeStyle.java b/tests/bugs163/pr194314/ServiceInterceptorCodeStyle.java
deleted file mode 100644
index b08047d6b..000000000
--- a/tests/bugs163/pr194314/ServiceInterceptorCodeStyle.java
+++ /dev/null
@@ -1,15 +0,0 @@
-
-import org.aspectj.lang.ProceedingJoinPoint;
-import org.aspectj.lang.annotation.Around;
-import org.aspectj.lang.annotation.Aspect;
-
-public aspect ServiceInterceptorCodeStyle {
-
- void around(): execution(void Service.method(long)) {
- Object[] args = thisJoinPoint.getArgs();
- long id = (Long) args[0];
- System.out.println("in advice, arg = " + id + " (before proceed)");
- proceed();
- System.out.println("in advice (after proceed)");
- }
-}