[JBoss AOP] - Re: Inteception on field inherited through generic superclas
by dunks80
Hi Kabir
I finally got around to upgrading to 1.4.5.SP2 when I installed Jboss-4.2.0.CR1 and I ran my test case against the latest build. It's almost right. Here is the out put I'm seeing from my test case (I've expanded the test case a bit b/c i was testing some other things as well).
| [debug] Passed in instrumentor: null
| [debug] Defaulting instrumentor to: org.jboss.aop.instrument.ClassicInstrumentor
| [debug] jboss.aop.class.path: /home/gdunkle/workspace/aop-problem/src/java
| [debug] Looking for aspects in: testcase.ZImpl
| [debug] Looking for aspects in: testcase.B
| [debug] Looking for aspects in: testcase.MyFieldAnnotation
| [debug] Looking for aspects in: testcase.MyMethodInterceptor
| [debug] Found @InterceptorDef in: testcase.MyMethodInterceptor
| [debug] Looking for aspects in: testcase.A
| [debug] Looking for aspects in: testcase.Main
| [debug] Looking for aspects in: testcase.MyMethodAnnotation
| [debug] Looking for aspects in: testcase.MyFieldInterceptor
| [debug] Found @InterceptorDef in: testcase.MyFieldInterceptor
| [debug] Looking for aspects in: testcase.C
| [debug] Looking for aspects in: testcase.Z
| [debug] Looking for aspects in: testcase.D
| [debug] jboss.aop.search.classpath: 'null' true
| [deploying] file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml
| AspectXMLLoader using managerorg.jboss.aop.AspectManager@558385e3
| [debug] jboss.aop.path: /home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml
| jboss.aop.path[0]: /home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml
| [deploying] file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml
| AspectXMLLoader using managerorg.jboss.aop.AspectManager@558385e3
| [trying to transform] testcase.Main
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] javassist.CtMethod@44a4fe33[public static main ([Ljava/lang/String;)V] matches no pointcuts
| [debug] javassist.CtConstructor@159b5217[public Main ()V] matches no pointcuts
| [debug] javassist.CtConstructor@5e7808b9[public C ()V] matches no pointcuts
| [debug] javassist.CtConstructor@1a84da23[public D ()V] matches no pointcuts
| [debug] javassist.CtConstructor@80d3d6f[public B ()V] matches no pointcuts
| [debug] testcase.A.myField:Ljava/lang/String; matches pointcut: get(* *->@testcase.MyFieldAnnotation)
| [debug] testcase.A.myField:Ljava/lang/String; matches no pointcuts
| [debug] javassist.CtConstructor@380e28b9[public A ()V] matches no pointcuts
| [debug] was testcase.Main converted: true
| [trying to transform] testcase.C
| [debug] javassist.CtMethod@69cb6c6d[public toString ()Ljava/lang/String;] matches no pointcuts
| [debug] javassist.CtConstructor@2d5253d5[public C ()V] matches no pointcuts
| [debug] testcase.A.myField:Ljava/lang/String; matches pointcut: get(* *->@testcase.MyFieldAnnotation)
| [debug] was testcase.C converted: false
| [trying to transform] testcase.B
| [debug] javassist.CtConstructor@3b835282[public B ()V] matches no pointcuts
| [debug] testcase.A.myField:Ljava/lang/String; matches pointcut: get(* *->@testcase.MyFieldAnnotation)
| [debug] testcase.A.myField:Ljava/lang/String; matches no pointcuts
| [debug] testcase.A.myField:Ljava/lang/String; matches pointcut: get(* *->@testcase.MyFieldAnnotation)
| [debug] was testcase.B converted: true
| [trying to transform] testcase.A
| [debug] javassist.CtMethod@69e1d179[public getMyField ()Ljava/lang/String;] matches pointcut: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] javassist.CtConstructor@4ce32802[public A ()V] matches no pointcuts
| [debug] testcase.A.myField:Ljava/lang/String; matches pointcut: get(* *->@testcase.MyFieldAnnotation)
| [debug] testcase.A.myField:Ljava/lang/String; matches no pointcuts
| [debug] was testcase.A converted: true
| iterate binding testcase.MyMethodInterceptor
| iterate binding testcase.MyFieldInterceptor
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml0
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml2
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml4
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml6
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml8
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml10
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml12
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml14
| [debug] added advisor: testcase.Main from binding: file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml8
| Using context classloader sun.misc.Launcher$AppClassLoader@181afa3 to load aspect org.jboss.aop.reflection.ReflectionAspect
| iterate binding testcase.MyMethodInterceptor
| [debug] added advisor: testcase.A from binding: testcase.MyMethodInterceptor
| Using context classloader sun.misc.Launcher$AppClassLoader@181afa3 to load aspect testcase.MyMethodInterceptor
| [trying to transform] testcase.MyMethodInterceptor
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] javassist.CtMethod@26562bc2[public getName ()Ljava/lang/String;] matches no pointcuts
| [debug] javassist.CtMethod@2ff3c113[public invoke (Lorg/jboss/aop/joinpoint/Invocation;)Ljava/lang/Object;] matches no pointcuts
| [debug] javassist.CtConstructor@6e811c88[public MyMethodInterceptor ()V] matches no pointcuts
| [debug] was testcase.MyMethodInterceptor converted: false
| iterate binding testcase.MyFieldInterceptor
| [debug] added advisor: testcase.A from binding: testcase.MyFieldInterceptor
| Using context classloader sun.misc.Launcher$AppClassLoader@181afa3 to load aspect testcase.MyFieldInterceptor
| [trying to transform] testcase.MyFieldInterceptor
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* jmethod call matched binding call(* java.lang.Class->getMethod(..))
| method matched binding execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..)) public java.lang.String testcase.A.getMyField()
| field matched binding testcase.MyFieldInterceptor
| ava.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] MethodCall does not match: execution(* $instanceof{testcase.A}->@testcase.MyMethodAnnotation(..))
| [debug] MethodCall does not match: get(* *->@testcase.MyFieldAnnotation)
| [debug] MethodCall does not match: call(* java.lang.Class->getInterfaces())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getMethods())
| [debug] MethodCall does not match: call(* java.lang.Class->getMethod(..))
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredFields())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredClasses())
| [debug] MethodCall does not match: call(* java.lang.Class->getDeclaredField(..))
| [debug] javassist.CtMethod@26562bc2[public getName ()Ljava/lang/String;] matches no pointcuts
| [debug] javassist.CtMethod@2ff3c113[public invoke (Lorg/jboss/aop/joinpoint/Invocation;)Ljava/lang/Object;] matches no pointcuts
| [debug] javassist.CtConstructor@5d5bdc50[public MyFieldInterceptor ()V] matches no pointcuts
| [debug] was testcase.MyFieldInterceptor converted: false
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml0
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml2
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml4
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml6
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml8
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml10
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml12
| iterate binding file:/home/gdunkle/workspace/aop-problem/src/java/META-INF/jboss-aop.xml14
| [trying to transform] testcase.D
| [debug] javassist.CtMethod@69cb6c6d[public toString ()Ljava/lang/String;] matches no pointcuts
| [debug] javassist.CtConstructor@bd86fd3[public D ()V] matches no pointcuts
| [debug] testcase.A.myField:Ljava/lang/String; matches pointcut: get(* *->@testcase.MyFieldAnnotation)
| [debug] testcase.A.myField:Ljava/lang/String; matches no pointcuts
| [debug] testcase.A.myField:Ljava/lang/String; matches pointcut: get(* *->@testcase.MyFieldAnnotation)
| [debug] was testcase.D converted: true
| /*THIS IS THE PROBLEM THIS SHOULD NOT RETURN NULL*/
| cInstance.toString()=null
| cInstance.getMyField()=Invoked testcase.MyMethodInterceptor on testcase.C method getMyField
| cInstance.myField=Invoked testcase.MyFieldInterceptor on testcase.C field myField
| cInstance.cInstance.getClass().getMethod("getMyField",new Class[0]).getName()=getMyField
| dInstance.toString()=Invoked testcase.MyFieldInterceptor on testcase.D field myField
| dInstance.getMyField()=Invoked testcase.MyMethodInterceptor on testcase.D method getMyField
| dInstance.myField=Invoked testcase.MyFieldInterceptor on testcase.D field myField
| dInstance.cInstance.getClass().getMethod("getMyField",new Class[0]).getName()=getMyField
|
|
The call to C.toString() returns the inherited A.myField which should be intercepted my MyFieldInterceptor.
What do you think, should I open another jira issue?
Also the latest version of javassist and aop seems to hate java 6. Have your tested the latest release against java 6 or is it just me?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025843#4025843
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025843
19Â years, 1Â month
[Persistence, JBoss/CMP, Hibernate, Database] - Re: How to write a finder query that takes a collection para
by roist
you may want to check in your server.log (which is quite helpful to me, to understand finding and optimized loading-issues) that the resulting prepared-statement is indeed not what you wanted.
the resulting statement will be ... where ID IN (?), which can't work, since you'd like to have where ID IN(?,?,?) and every parameter filled in. else your db will believe its just one parameter of the ID#type.
a quick and dirty workaround: concatenate the string with some delimiter before passing it to the finder, and write a little database function that explodes your delimiter-seperated list.
best would of cause be to set up cmr properly - but this seems like hard work for a whole application.
oracle-compatible where clause+impl:
public xxx findByResourceList (String[] asResourceIDList) {
| StringBuffer res = new StringBuffer();
| res.append(',');
| for(String s: asResourceIDList)
| res.append(s).append(',');
| return findByResourceListDummy(res.toString());
| }
|
<query>
| <query-method>
| <method-name>
| findByResourceListDummy
| </method-name>
| <method-params>
| <method-param>java.lang.String</method-param>
| </method-params>
| </query-method>
|
| <declared-sql>
| <where>instr({0}, ',' || id || ',')>0</where>
| </declared-sql>
| </query>
|
though i'm not sure if you can do that function stuff here, it should be possible somewhere;)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025841#4025841
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025841
19Â years, 1Â month