tuple.cflowExpressions = cflowExpressionList;
tuple.expressionContext = ctx;
break;
case JoinPointType.FIELD_SET:
Field field = AspectRegistry.getField(declaringClass, joinPointHash);
FieldSignatureImpl fieldSignature = new FieldSignatureImpl(field.getDeclaringClass(), field);
tuple.signature = fieldSignature;
tuple.rtti = new FieldRttiImpl(fieldSignature, thisInstance, targetInstance);
FieldInfo fieldInfo = JavaFieldInfo.getFieldInfo(field);
withinInfo = JavaClassInfo.getClassInfo(targetClass);
ctx = new ExpressionContext(PointcutType.SET, fieldInfo, withinInfo);//AVAJ
for (int i = 0; i < aspectManagers.length; i++) {
for (Iterator it = aspectManagers[i].getPointcuts(ctx).iterator(); it.hasNext();) {
Pointcut pointcut = (Pointcut) it.next();
if (pointcut.getExpressionInfo().hasCflowPointcut()) {
cflowExpressionList.add(pointcut.getExpressionInfo().getCflowExpressionRuntime());
}
}
}
tuple.cflowExpressions = cflowExpressionList;
tuple.expressionContext = ctx;
break;
case JoinPointType.FIELD_GET:
field = AspectRegistry.getField(declaringClass, joinPointHash);
fieldSignature = new FieldSignatureImpl(field.getDeclaringClass(), field);
tuple.signature = fieldSignature;
tuple.rtti = new FieldRttiImpl(fieldSignature, thisInstance, targetInstance);
fieldInfo = JavaFieldInfo.getFieldInfo(field);
withinInfo = JavaClassInfo.getClassInfo(targetClass);
ctx = new ExpressionContext(PointcutType.GET, fieldInfo, withinInfo);//AVAJ