java-decompiler: extra casts on method calls omitted

(loosely based on https://github.com/JetBrains/intellij-community/pull/217)
java-decompiler: cleanups and fixes

- duplicates eliminated
- immutable fields
- typos
- formatting