This is a simplified version of the code in question, one generic class uses another class with generic type parameters and needs to pass one of the generic types to a metho
Other than adding @SuppressWarnings("unchecked"), I don't think so.
@SuppressWarnings("unchecked")
This bug report has more information but it boils down to the compiler not liking arrays of generic types.