Iterable<FeatureBasedDiagnostic> _filter = Iterables.<FeatureBasedDiagnostic>filter(_allDiagnostics, FeatureBasedDiagnostic.class);
final List<FeatureBasedDiagnostic> diagnostics = IterableExtensions.<FeatureBasedDiagnostic>toList(_filter);
String _join = IterableExtensions.join(diagnostics, ", ");
int _size = diagnostics.size();
Assert.assertEquals(_join, 2, _size);
FeatureBasedDiagnostic _get = diagnostics.get(0);
EObject _sourceEObject = _get.getSourceEObject();
FeatureBasedDiagnostic _get_1 = diagnostics.get(0);
EStructuralFeature _feature = _get_1.getFeature();
Object _eGet = _sourceEObject.eGet(_feature);
FeatureBasedDiagnostic _get_2 = diagnostics.get(0);
int _index = _get_2.getIndex();
Object _get_3 = ((List<?>) _eGet).get(_index);
Assert.assertEquals(Option.INCLUDE_SOURCE, _get_3);
FeatureBasedDiagnostic _get_4 = diagnostics.get(1);
EObject _sourceEObject_1 = _get_4.getSourceEObject();
FeatureBasedDiagnostic _get_5 = diagnostics.get(1);
EStructuralFeature _feature_1 = _get_5.getFeature();
Object _eGet_1 = _sourceEObject_1.eGet(_feature_1);
FeatureBasedDiagnostic _get_6 = diagnostics.get(1);
int _index_1 = _get_6.getIndex();
Object _get_7 = ((List<?>) _eGet_1).get(_index_1);
Assert.assertEquals(Option.INCLUDE_SOURCE, _get_7);
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}