FeatureBasedDiagnostic it = IterableExtensions.<FeatureBasedDiagnostic>head(diagnostics);
String _issueCode = it.getIssueCode();
Assert.assertEquals(TargetPlatformValidator.CHECK__NO_DUPLICATE_ENVIRONMENT_OPTIONS, _issueCode);
int _severity = it.getSeverity();
Assert.assertEquals(Diagnostic.ERROR, _severity);
Environment _environment = targetPlatform.getEnvironment();
EList<String> _env = _environment.getEnv();
String _get = _env.get(1);
EObject _sourceEObject = it.getSourceEObject();
EStructuralFeature _feature = it.getFeature();
Object _eGet = _sourceEObject.eGet(_feature);
int _index = it.getIndex();
Object _get_1 = ((List<?>) _eGet).get(_index);
Assert.assertEquals(_get, _get_1);
FeatureBasedDiagnostic it_1 = diagnostics.get(1);
String _issueCode_1 = it_1.getIssueCode();
Assert.assertEquals(TargetPlatformValidator.CHECK__NO_DUPLICATE_ENVIRONMENT_OPTIONS, _issueCode_1);
int _severity_1 = it_1.getSeverity();
Assert.assertEquals(Diagnostic.ERROR, _severity_1);
Environment _environment_1 = targetPlatform.getEnvironment();
EList<String> _env_1 = _environment_1.getEnv();
String _get_2 = _env_1.get(2);
EObject _sourceEObject_1 = it_1.getSourceEObject();
EStructuralFeature _feature_1 = it_1.getFeature();
Object _eGet_1 = _sourceEObject_1.eGet(_feature_1);
int _index_1 = it_1.getIndex();