public Boolean apply(final Project e) {
return Boolean.valueOf((e instanceof FeatureProject));
}
};
Project _findFirst = IterableExtensions.<Project>findFirst(_projects, _function);
final FeatureProject plugin = ((FeatureProject) _findFirst);
EList<Project> _projects_1 = robotTask.getProjects();
final Function1<Project,Boolean> _function_1 = new Function1<Project,Boolean>() {
public Boolean apply(final Project e) {
return Boolean.valueOf((e instanceof BundleProject));
}
};
Project _findFirst_1 = IterableExtensions.<Project>findFirst(_projects_1, _function_1);
final BundleProject bundleProject = ((BundleProject) _findFirst_1);
ManifestFile _manifest = bundleProject.getManifest();
final String symbolicName = _manifest.getSymbolicname();
JemmyLaunchDef _jemmyLaunchDef = new JemmyLaunchDef();
final JemmyLaunchDef launchDef = _jemmyLaunchDef;
String _plus = (symbolicName + ".jemmy.TestSuite");
launchDef.setJunitClassName(_plus);
String _name = bundleProject.getName();
String _plus_1 = (_name + ".jemmy");
launchDef.setProjectName(_plus_1);
String _plus_2 = (symbolicName + ".product");
launchDef.setTestProductId(_plus_2);
FeatureFile _feature = plugin.getFeature();
EList<FeaturePlugin> _plugins = _feature.getPlugins();
for (final FeaturePlugin fp : _plugins) {
String _id = fp.getId();
boolean _equals = symbolicName.equals(_id);
if (_equals) {