Let JDT handle compile-time constants when not doing per file compile.

Letting JDT handle compile time constants hides references to the
compile per file process and makes stale type computation less accurate.

OTOH letting GWT handle compile time constant inlining makes the source
for the classes that provide the constants required and that breaks
existing projects.

For now we take a compromise allowing JDT compile time constant inlining
when not doing per file compiles.

Change-Id: Iee2a4a0a653eaae9703013d10d705353f2783076
12 files changed