Looking at the type inference for generic types in the following example, I cannot say why methodAutoTypeInference works fine, but methodNotCompilable
methodAutoTypeInference
methodNotCompilable