This task is identical to JDK-8044638: do bulk whitespace fixes to both .java and .js files, organize imports, and add "final" keyword wherever possible in .java files. It needs to be performed from time to time, as we apparently slip up with keeping the files in order. It is also needed to minimize the change surface area with backporting of optimistic typing to 8u40 (JDK-8055186).