Members of package object have different precedence for place inside and outside of package object.
(cherry picked from commit c2f190c)
Fixed recently introduced problems with static java inner classes/interfaces in classes with generic types.
(cherry picked from commit d3f0e81)
cleanup.
(cherry picked from commit 983291c)
Fixed weird red code in packaging statement.
(cherry picked from commit 672d05d)
Fixed tests
(cherry picked from commit c0c39d6)
Cleanup
(cherry picked from commit 0999301)
Fixed regression with compound types.
(cherry picked from commit f6414c9)