Eclipse copies the field initializer source code if it is a constant. For generated nodes we have to read it from the ast node and not from the source file.