EList<Location> _locations = targetPlatform.getLocations();
Location _head = IterableExtensions.<Location>head(_locations);
EList<IU> _ius = _head.getIus();
IU _head_1 = IterableExtensions.<IU>head(_ius);
_validator.deprecateIUVersionRangeWihString(_head_1);
AssertableDiagnostics _diagnose = tester.diagnose();
Iterable<Diagnostic> _allDiagnostics = _diagnose.getAllDiagnostics();
Iterable<AbstractValidationDiagnostic> _filter = Iterables.<AbstractValidationDiagnostic>filter(_allDiagnostics, AbstractValidationDiagnostic.class);
final List<AbstractValidationDiagnostic> diagnotics = IterableExtensions.<AbstractValidationDiagnostic>toList(_filter);
int _size = diagnotics.size();
Assert.assertEquals(1, _size);
final Function1<AbstractValidationDiagnostic, Boolean> _function = new Function1<AbstractValidationDiagnostic, Boolean>() {