AspectDefinition def = AspectManager.instance().getAspectDefinition("field");
assertNotNull(def);
InstanceAdvisor ia1 = ((Advised)pojo1)._getInstanceAdvisor();
InstanceAdvisor ia2 = ((Advised)pojo2)._getInstanceAdvisor();
FieldPerJoinpointInterceptor ia1Field1 = (FieldPerJoinpointInterceptor)ia1.getPerInstanceJoinpointAspect(new FieldJoinpoint(field1), def);
assertNotNull(ia1Field1);
FieldPerJoinpointInterceptor ia2Field1 = (FieldPerJoinpointInterceptor)ia2.getPerInstanceJoinpointAspect(new FieldJoinpoint(field1), def);
assertNotNull(ia2Field1);
FieldPerJoinpointInterceptor ia1Field2 = (FieldPerJoinpointInterceptor)ia1.getPerInstanceJoinpointAspect(new FieldJoinpoint(field2), def);
assertNotNull(ia1Field2);
assertSame(fieldRead1, ia1Field1);
assertSame(fieldWrite2, ia2Field1);
assertSame(field2Write1, ia1Field2);
AspectDefinition statDef = AspectManager.instance().getAspectDefinition("staticField");
assertNotNull(statDef);
FieldPerJoinpointInterceptor advStatic = (FieldPerJoinpointInterceptor)((ClassAdvisor)((Advised)pojo1)._getAdvisor()).getFieldAspect(new FieldJoinpoint(staticField), statDef);
assertSame(advStatic, staticWrite);
}