浏览代码

347185

tags/V1_6_12M1
aclement 13 年前
父节点
当前提交
039b9ddc95

+ 2
- 1
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseAnnotationConvertor.java 查看文件

@@ -131,7 +131,8 @@ public class EclipseAnnotationConvertor {
}
} else {
if (constant != null && constant != Constant.NotAConstant) {
if (constant instanceof IntConstant || constant instanceof BooleanConstant) {
if (constant instanceof IntConstant || constant instanceof BooleanConstant
|| constant instanceof StringConstant) {
AnnotationValue av = generateElementValueForConstantExpression(defaultValue, defaultValueBinding);
return av;
}

正在加载...
取消
保存