Ensured all java enhanced classes are updated in cache

Since the Scala incremental compiler also does incremental compilation
for Java sources, when they are touched by the properties enhancer the
cache also has to be updated for them.
Merge pull request #2347 from jroper/inc-java-accessors

Ensured all java enhanced classes are updated in cache