queue.addLast(targetPlatform);
visited.add(targetPlatform);
while ((!queue.isEmpty())) {
{
final LinkedList<TargetPlatform> tr = CollectionLiterals.<TargetPlatform>newLinkedList();
final TargetPlatform t = queue.removeLast();
EList<IncludeDeclaration> _includes = t.getIncludes();
final Function1<IncludeDeclaration, TargetPlatform> _function = new Function1<IncludeDeclaration, TargetPlatform>() {
public TargetPlatform apply(final IncludeDeclaration it) {
Resource _eResource = t.eResource();
return LocationIndexBuilder.this.getImportedTargetPlatform(_eResource, it);
}
};
List<TargetPlatform> _map = ListExtensions.<IncludeDeclaration, TargetPlatform>map(_includes, _function);
Iterable<TargetPlatform> _filterNull = IterableExtensions.<TargetPlatform>filterNull(_map);