Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2017-07-17 12:00:00 -0400
committerJuergen Haug2017-07-17 12:00:00 -0400
commite4dec8f093de150cbba61b3b329b111b58c9fb64 (patch)
treea26f2238c7c97c63846c56581aaff6c72a6890e2 /plugins/org.eclipse.etrice.generator.config/xtend-gen/org
parentecc96202d41f697201ee7ba49cbf85faf74a62b9 (diff)
downloadorg.eclipse.etrice-e4dec8f093de150cbba61b3b329b111b58c9fb64.tar.gz
org.eclipse.etrice-e4dec8f093de150cbba61b3b329b111b58c9fb64.tar.xz
org.eclipse.etrice-e4dec8f093de150cbba61b3b329b111b58c9fb64.zip
switched to Java 8, deleted jdt prefs
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.config/xtend-gen/org')
-rw-r--r--plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java66
1 files changed, 27 insertions, 39 deletions
diff --git a/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java b/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
index 2821f29ff..5bf61078e 100644
--- a/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
+++ b/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
@@ -15,6 +15,7 @@ import com.google.inject.Inject;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
+import java.util.function.Consumer;
import org.eclipse.emf.common.EMFPlugin;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.resource.ResourceSet;
@@ -47,7 +48,6 @@ import org.eclipse.xtend2.lib.StringConcatenation;
import org.eclipse.xtext.scoping.impl.ImportUriResolver;
import org.eclipse.xtext.xbase.lib.Extension;
import org.eclipse.xtext.xbase.lib.IterableExtensions;
-import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;
@SuppressWarnings("all")
public class DataConfiguration implements IDataConfiguration {
@@ -307,17 +307,14 @@ public class DataConfiguration implements IDataConfiguration {
String _path = ai.getPath();
List<AttrInstanceConfig> configs = this._dataConfigurationHelper.dynActorInstanceAttrMap.get(_path);
if (configs!=null) {
- final Procedure1<AttrInstanceConfig> _function = new Procedure1<AttrInstanceConfig>() {
- @Override
- public void apply(final AttrInstanceConfig c) {
- boolean _isReadOnly = c.isReadOnly();
- if (_isReadOnly) {
- Attribute _attribute = c.getAttribute();
- result.add(_attribute);
- }
+ final Consumer<AttrInstanceConfig> _function = (AttrInstanceConfig c) -> {
+ boolean _isReadOnly = c.isReadOnly();
+ if (_isReadOnly) {
+ Attribute _attribute = c.getAttribute();
+ result.add(_attribute);
}
};
- IterableExtensions.<AttrInstanceConfig>forEach(configs, _function);
+ configs.forEach(_function);
}
return result;
}
@@ -328,18 +325,15 @@ public class DataConfiguration implements IDataConfiguration {
String _path = ai.getPath();
List<AttrInstanceConfig> configs = this._dataConfigurationHelper.dynActorInstanceAttrMap.get(_path);
if (configs!=null) {
- final Procedure1<AttrInstanceConfig> _function = new Procedure1<AttrInstanceConfig>() {
- @Override
- public void apply(final AttrInstanceConfig c) {
- boolean _isReadOnly = c.isReadOnly();
- boolean _not = (!_isReadOnly);
- if (_not) {
- Attribute _attribute = c.getAttribute();
- result.add(_attribute);
- }
+ final Consumer<AttrInstanceConfig> _function = (AttrInstanceConfig c) -> {
+ boolean _isReadOnly = c.isReadOnly();
+ boolean _not = (!_isReadOnly);
+ if (_not) {
+ Attribute _attribute = c.getAttribute();
+ result.add(_attribute);
}
};
- IterableExtensions.<AttrInstanceConfig>forEach(configs, _function);
+ configs.forEach(_function);
}
return result;
}
@@ -432,17 +426,14 @@ public class DataConfiguration implements IDataConfiguration {
final HashSet<Attribute> result = new HashSet<Attribute>();
final List<AttrInstanceConfig> configs = this._dataConfigurationHelper.dynActorClassAttrMap.get(actor);
if (configs!=null) {
- final Procedure1<AttrInstanceConfig> _function = new Procedure1<AttrInstanceConfig>() {
- @Override
- public void apply(final AttrInstanceConfig c) {
- boolean _isReadOnly = c.isReadOnly();
- if (_isReadOnly) {
- Attribute _attribute = c.getAttribute();
- result.add(_attribute);
- }
+ final Consumer<AttrInstanceConfig> _function = (AttrInstanceConfig c) -> {
+ boolean _isReadOnly = c.isReadOnly();
+ if (_isReadOnly) {
+ Attribute _attribute = c.getAttribute();
+ result.add(_attribute);
}
};
- IterableExtensions.<AttrInstanceConfig>forEach(configs, _function);
+ configs.forEach(_function);
}
return IterableExtensions.<Attribute>toList(result);
}
@@ -452,18 +443,15 @@ public class DataConfiguration implements IDataConfiguration {
final HashSet<Attribute> result = new HashSet<Attribute>();
final List<AttrInstanceConfig> configs = this._dataConfigurationHelper.dynActorClassAttrMap.get(actor);
if (configs!=null) {
- final Procedure1<AttrInstanceConfig> _function = new Procedure1<AttrInstanceConfig>() {
- @Override
- public void apply(final AttrInstanceConfig c) {
- boolean _isReadOnly = c.isReadOnly();
- boolean _not = (!_isReadOnly);
- if (_not) {
- Attribute _attribute = c.getAttribute();
- result.add(_attribute);
- }
+ final Consumer<AttrInstanceConfig> _function = (AttrInstanceConfig c) -> {
+ boolean _isReadOnly = c.isReadOnly();
+ boolean _not = (!_isReadOnly);
+ if (_not) {
+ Attribute _attribute = c.getAttribute();
+ result.add(_attribute);
}
};
- IterableExtensions.<AttrInstanceConfig>forEach(configs, _function);
+ configs.forEach(_function);
}
return IterableExtensions.<Attribute>toList(result);
}

Back to the top