What is the correct way to use DependencyInjection / ContextInjectionFactory without generating a type safety warning?
public class MyClass<T> {...}
// Without Dependency Injection
MyClass<MyType> x = new MyClass<MyType>();
// With Dependency Injection and TypeSafety warning
MyClass<MyType> x = ContextInjectionFactory.make(MyClass.class, context);