FieldDeclaration fieldDecl = typeDecl.declarationOf(originalField);
MethodScope initScope = originalField.isStatic() ? typeDecl.staticInitializerScope : typeDecl.initializerScope;
boolean old = initScope.insideTypeAnnotation;
try {
initScope.insideTypeAnnotation = false;
fieldDecl.resolve(initScope); //side effect on binding
} finally {
initScope.insideTypeAnnotation = old;
}
fieldConstant = originalField.constant == null ? Constant.NotAConstant : originalField.constant;
} else {