Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schuetz2013-11-20 10:50:43 +0000
committerThomas Schuetz2013-11-20 10:50:43 +0000
commit34c5bd8538642e359979601fd95059fa51fe1c37 (patch)
tree66ed716fc0f0796c28acbf437fb87c13b6a16d7a /plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen
parentdaa90566b726ec9971982906ac2082c42797b25c (diff)
downloadorg.eclipse.etrice-34c5bd8538642e359979601fd95059fa51fe1c37.tar.gz
org.eclipse.etrice-34c5bd8538642e359979601fd95059fa51fe1c37.tar.xz
org.eclipse.etrice-34c5bd8538642e359979601fd95059fa51fe1c37.zip
[plugins] changed dependencies to be compatible with previous kepler
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen')
-rw-r--r--plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/ActorClassGen.java88
-rw-r--r--plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/CppExtensions.java2
-rw-r--r--plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/DataClassGen.java40
-rw-r--r--plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/StateMachineGen.java2
4 files changed, 66 insertions, 66 deletions
diff --git a/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/ActorClassGen.java b/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/ActorClassGen.java
index d13462d93..b2cdc35f3 100644
--- a/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/ActorClassGen.java
+++ b/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/ActorClassGen.java
@@ -274,17 +274,17 @@ public class ActorClassGen extends GenericActorClassGenerator {
_builder.append("\t\t\t");
List<Port> _endPorts = RoomHelpers.getEndPorts(ac);
final Function1<Port,String> _function = new Function1<Port,String>() {
- public String apply(final Port port) {
- StringConcatenation _builder = new StringConcatenation();
- String _portClassName = ActorClassGen.this._roomExtensions.getPortClassName(port);
- _builder.append(_portClassName, "");
- _builder.append(" ");
- String _name = port.getName();
- _builder.append(_name, "");
- _builder.append(";");
- return _builder.toString();
- }
- };
+ public String apply(final Port port) {
+ StringConcatenation _builder = new StringConcatenation();
+ String _portClassName = ActorClassGen.this._roomExtensions.getPortClassName(port);
+ _builder.append(_portClassName, "");
+ _builder.append(" ");
+ String _name = port.getName();
+ _builder.append(_name, "");
+ _builder.append(";");
+ return _builder.toString();
+ }
+ };
List<String> _map = ListExtensions.<Port, String>map(_endPorts, _function);
String _join = IterableExtensions.join(_map, "\n");
_builder.append(_join, " ");
@@ -295,17 +295,17 @@ public class ActorClassGen extends GenericActorClassGenerator {
_builder.append("\t\t\t");
EList<SAP> _serviceAccessPoints = ac.getServiceAccessPoints();
final Function1<SAP,String> _function_1 = new Function1<SAP,String>() {
- public String apply(final SAP sap) {
- StringConcatenation _builder = new StringConcatenation();
- String _portClassName = ActorClassGen.this._roomExtensions.getPortClassName(sap);
- _builder.append(_portClassName, "");
- _builder.append(" ");
- String _name = sap.getName();
- _builder.append(_name, "");
- _builder.append(";");
- return _builder.toString();
- }
- };
+ public String apply(final SAP sap) {
+ StringConcatenation _builder = new StringConcatenation();
+ String _portClassName = ActorClassGen.this._roomExtensions.getPortClassName(sap);
+ _builder.append(_portClassName, "");
+ _builder.append(" ");
+ String _name = sap.getName();
+ _builder.append(_name, "");
+ _builder.append(";");
+ return _builder.toString();
+ }
+ };
List<String> _map_1 = ListExtensions.<SAP, String>map(_serviceAccessPoints, _function_1);
String _join_1 = IterableExtensions.join(_map_1, "\n");
_builder.append(_join_1, " ");
@@ -316,18 +316,18 @@ public class ActorClassGen extends GenericActorClassGenerator {
_builder.append("\t\t\t");
EList<ServiceImplementation> _serviceImplementations = ac.getServiceImplementations();
final Function1<ServiceImplementation,String> _function_2 = new Function1<ServiceImplementation,String>() {
- public String apply(final ServiceImplementation svc) {
- StringConcatenation _builder = new StringConcatenation();
- String _portClassName = ActorClassGen.this._roomExtensions.getPortClassName(svc);
- _builder.append(_portClassName, "");
- _builder.append(" ");
- SPP _spp = svc.getSpp();
- String _name = _spp.getName();
- _builder.append(_name, "");
- _builder.append(";");
- return _builder.toString();
- }
- };
+ public String apply(final ServiceImplementation svc) {
+ StringConcatenation _builder = new StringConcatenation();
+ String _portClassName = ActorClassGen.this._roomExtensions.getPortClassName(svc);
+ _builder.append(_portClassName, "");
+ _builder.append(" ");
+ SPP _spp = svc.getSpp();
+ String _name = _spp.getName();
+ _builder.append(_name, "");
+ _builder.append(";");
+ return _builder.toString();
+ }
+ };
List<String> _map_2 = ListExtensions.<ServiceImplementation, String>map(_serviceImplementations, _function_2);
String _join_2 = IterableExtensions.join(_map_2, "\n");
_builder.append(_join_2, " ");
@@ -606,20 +606,20 @@ public class ActorClassGen extends GenericActorClassGenerator {
{
EList<StandardOperation> _operations = ac.getOperations();
final Function1<StandardOperation,Boolean> _function = new Function1<StandardOperation,Boolean>() {
- public Boolean apply(final StandardOperation op) {
- boolean _isConstructor = RoomHelpers.isConstructor(op);
- return Boolean.valueOf(_isConstructor);
- }
- };
+ public Boolean apply(final StandardOperation op) {
+ boolean _isConstructor = RoomHelpers.isConstructor(op);
+ return Boolean.valueOf(_isConstructor);
+ }
+ };
Iterable<StandardOperation> _filter = IterableExtensions.<StandardOperation>filter(_operations, _function);
final StandardOperation ctor = IterableExtensions.<StandardOperation>head(_filter);
EList<StandardOperation> _operations_1 = ac.getOperations();
final Function1<StandardOperation,Boolean> _function_1 = new Function1<StandardOperation,Boolean>() {
- public Boolean apply(final StandardOperation op) {
- boolean _isDestructor = op.isDestructor();
- return Boolean.valueOf(_isDestructor);
- }
- };
+ public Boolean apply(final StandardOperation op) {
+ boolean _isDestructor = op.isDestructor();
+ return Boolean.valueOf(_isDestructor);
+ }
+ };
Iterable<StandardOperation> _filter_1 = IterableExtensions.<StandardOperation>filter(_operations_1, _function_1);
final StandardOperation dtor = IterableExtensions.<StandardOperation>head(_filter_1);
ActorClass _actorClass = xpac.getActorClass();
diff --git a/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/CppExtensions.java b/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/CppExtensions.java
index 1ae61c89a..df3a810f4 100644
--- a/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/CppExtensions.java
+++ b/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/CppExtensions.java
@@ -136,7 +136,7 @@ public class CppExtensions implements ILanguageExtension {
_builder.append("typedef enum {");
_builder.newLine();
{
- for(final Pair<String, String> entry : entries) {
+ for(final Pair<String,String> entry : entries) {
String _first = entry.getFirst();
_builder.append(_first, "");
_builder.append(" = ");
diff --git a/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/DataClassGen.java b/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/DataClassGen.java
index 305d561bd..a4288a657 100644
--- a/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/DataClassGen.java
+++ b/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/DataClassGen.java
@@ -109,20 +109,20 @@ public class DataClassGen {
{
EList<StandardOperation> _operations = dc.getOperations();
final Function1<StandardOperation,Boolean> _function = new Function1<StandardOperation,Boolean>() {
- public Boolean apply(final StandardOperation op) {
- boolean _isConstructor = RoomHelpers.isConstructor(op);
- return Boolean.valueOf(_isConstructor);
- }
- };
+ public Boolean apply(final StandardOperation op) {
+ boolean _isConstructor = RoomHelpers.isConstructor(op);
+ return Boolean.valueOf(_isConstructor);
+ }
+ };
Iterable<StandardOperation> _filter = IterableExtensions.<StandardOperation>filter(_operations, _function);
final StandardOperation ctor = IterableExtensions.<StandardOperation>head(_filter);
EList<StandardOperation> _operations_1 = dc.getOperations();
final Function1<StandardOperation,Boolean> _function_1 = new Function1<StandardOperation,Boolean>() {
- public Boolean apply(final StandardOperation op) {
- boolean _isDestructor = op.isDestructor();
- return Boolean.valueOf(_isDestructor);
- }
- };
+ public Boolean apply(final StandardOperation op) {
+ boolean _isDestructor = op.isDestructor();
+ return Boolean.valueOf(_isDestructor);
+ }
+ };
Iterable<StandardOperation> _filter_1 = IterableExtensions.<StandardOperation>filter(_operations_1, _function_1);
final StandardOperation dtor = IterableExtensions.<StandardOperation>head(_filter_1);
StringConcatenation _builder = new StringConcatenation();
@@ -316,20 +316,20 @@ public class DataClassGen {
{
EList<StandardOperation> _operations = dc.getOperations();
final Function1<StandardOperation,Boolean> _function = new Function1<StandardOperation,Boolean>() {
- public Boolean apply(final StandardOperation op) {
- boolean _isConstructor = RoomHelpers.isConstructor(op);
- return Boolean.valueOf(_isConstructor);
- }
- };
+ public Boolean apply(final StandardOperation op) {
+ boolean _isConstructor = RoomHelpers.isConstructor(op);
+ return Boolean.valueOf(_isConstructor);
+ }
+ };
Iterable<StandardOperation> _filter = IterableExtensions.<StandardOperation>filter(_operations, _function);
final StandardOperation ctor = IterableExtensions.<StandardOperation>head(_filter);
EList<StandardOperation> _operations_1 = dc.getOperations();
final Function1<StandardOperation,Boolean> _function_1 = new Function1<StandardOperation,Boolean>() {
- public Boolean apply(final StandardOperation op) {
- boolean _isDestructor = op.isDestructor();
- return Boolean.valueOf(_isDestructor);
- }
- };
+ public Boolean apply(final StandardOperation op) {
+ boolean _isDestructor = op.isDestructor();
+ return Boolean.valueOf(_isDestructor);
+ }
+ };
Iterable<StandardOperation> _filter_1 = IterableExtensions.<StandardOperation>filter(_operations_1, _function_1);
final StandardOperation dtor = IterableExtensions.<StandardOperation>head(_filter_1);
StringConcatenation _builder = new StringConcatenation();
diff --git a/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/StateMachineGen.java b/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/StateMachineGen.java
index 040d8e969..c0f52a704 100644
--- a/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/StateMachineGen.java
+++ b/plugins/org.eclipse.etrice.generator.cpp/xtend-gen/org/eclipse/etrice/generator/cpp/gen/StateMachineGen.java
@@ -138,7 +138,7 @@ public class StateMachineGen extends GenericStateMachineGenerator {
_xifexpression = _triggers;
}
final EList<MessageFromIf> triggers = _xifexpression;
- ArrayList<Pair<String,String>> _arrayList = new ArrayList<Pair<String, String>>();
+ ArrayList<Pair<String,String>> _arrayList = new ArrayList<Pair<String,String>>();
final ArrayList<Pair<String,String>> list = _arrayList;
Pair<String,String> _pair = Tuples.<String, String>pair("POLLING", "0");
list.add(_pair);

Back to the top