assertEquals(2, vm.constructorCalled);
assertEquals(2, vm.methodCalled);
assertEquals(2, vm.fieldRead);
assertEquals(2, vm.fieldWrite);
Advisor advisor = ((Advised) pojo)._getAdvisor();
perClass = (AspectPerClass) advisor.getPerClassAspect("org.jboss.test.aop.jdk15annotated.AspectPerClass");
System.out.println("POJO perClass stats: " + perClass.constructorCalled + " " + perClass.methodCalled + " " + perClass.fieldRead + " " + perClass.fieldWrite);
assertEquals(1, perClass.constructorCalled);
assertEquals(1, perClass.methodCalled);
assertEquals(1, perClass.fieldRead);
assertEquals(1, perClass.fieldWrite);
advisor = ((Advised) pojo2)._getAdvisor();
perClass2 = (AspectPerClass) advisor.getPerClassAspect("org.jboss.test.aop.jdk15annotated.AspectPerClass");
System.out.println("POJO2 perClass stats: " + perClass.constructorCalled + " " + perClass.methodCalled + " " + perClass.fieldRead + " " + perClass.fieldWrite);
assertEquals(1, perClass2.constructorCalled);
assertEquals(1, perClass2.methodCalled);
assertEquals(1, perClass2.fieldRead);
assertEquals(1, perClass2.fieldWrite);