JsniCollector.reportJsniError(info, methodDecl,
"Cannot change the value of compile-time constant "
+ field.getName());
}
JLiteral initializer = field.getConstInitializer();
JType type = initializer.getType();
if (type instanceof JPrimitiveType
|| type == program.getTypeJavaLangString()) {
GenerateJavaScriptLiterals generator = new GenerateJavaScriptLiterals(
jsProgram);
generator.accept(initializer);