Adjust refactoring for JLS8: avoid unsupported method (ext.dims).
+ use generics to avoid warnings
6 files changed