Metric Provider Kernel quality service getAllMetricProviders() should return List<IMetricProvider<EObject>>
A nice solution would be to change getAllMetricProviders() to return a List<IMetricProvider<EObject>> The provider in the list has to have a compatible method for the actual type as we just collected providers with a compatible type.