return;
}
FieldInfo[] fieldList = classInfo.getFields();
for (int i = 0; i < fieldList.length; i++) {
FieldInfo field = fieldList[i];
for (Iterator iterator = field.getAnnotations().iterator(); iterator.hasNext();) {
AnnotationInfo annotationInfo = (AnnotationInfo) iterator.next();
if (annotationInfo.getAnnotation() == null) {
continue;
}
if (AnnotationConstants.EXPRESSION.equals(annotationInfo.getName())) {
if (field.getType().getName().equals(DeploymentScope.class.getName())) {
DefinitionParserHelper.createAndAddDeploymentScopeDef(
field.getName(),
((Expression) annotationInfo.getAnnotation()).value(),
aspectDef.getSystemDefinition()
);
} else {
DefinitionParserHelper.createAndAddPointcutDefToAspectDef(
field.getName(),
((Expression) annotationInfo.getAnnotation()).value(),
aspectDef
);
}
} else if (AnnotationConstants.INTRODUCE.equals(annotationInfo.getName())) {
DefinitionParserHelper.createAndAddInterfaceIntroductionDefToAspectDef(
((Introduce) annotationInfo.getAnnotation()).value(),
field.getName(),
field.getType().getName(),
aspectDef
);
}
}
}