Chris Male
added a comment - 13/Apr/12 12:36 Patch which adds generics to ResourceLoader.newInstance.
As part of this effort, I've had to clean up a lot of missing generics, removing Object return types instead of actual typed returns.
DIH wraps ResourceLoader.newInstance into its own newInstance like method which I've left untouched (using Object.class). It can be improved in a separate issue.