Changeset 1978 for trunk/autoquest-plugin-uml/src/main/java
- Timestamp:
- 06/24/15 15:26:27 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-uml/src/main/java/de/ugoe/cs/autoquest/plugin/uml/UMLUtils.java
r1977 r1978 1072 1072 String path = calledOperation.getName() + ":" + param.getType().getName(); 1073 1073 // create param node 1074 Expression argument = 1075 (Expression) callMessage.createArgument(param.getName(), param.getType(), 1076 UMLPackage.Literals.EXPRESSION); 1077 1074 // Expression argument = 1075 // (Expression) callMessage.createArgument(param.getName(), param.getType(), 1076 // UMLPackage.Literals.EXPRESSION); 1078 1077 if (isInParameter(param)) { 1079 1078 … … 1087 1086 UMLPackage.Literals.INSTANCE_SPECIFICATION); 1088 1087 instSpecParameters.getClassifiers().add((DataType) param.getType()); 1089 InstanceValue parametersValue = 1090 (InstanceValue) argument 1091 .createOperand(param.getType().getName(), param.getType(), 1092 UMLPackage.Literals.INSTANCE_VALUE); 1093 parametersValue.setInstance(instSpecParameters); 1088 // InstanceValue parametersValue = 1089 // (InstanceValue) argument 1090 // .createOperand(param.getType().getName(), param.getType(), 1091 // UMLPackage.Literals.INSTANCE_VALUE); 1092 // parametersValue.setInstance(instSpecParameters); 1093 InstanceValue instanceValue = (InstanceValue) callMessage.createArgument(param.getName(), param.getType(), UMLPackage.Literals.INSTANCE_VALUE); 1094 instanceValue.setInstance(instSpecParameters); 1094 1095 1095 1096 for( Property internalParameter : parametersNode.getAllAttributes() ) { … … 1141 1142 else { 1142 1143 // set literalNull for out and return parameters 1143 argument.createOperand(null, param.getType(), UMLPackage.Literals.LITERAL_NULL); 1144 // argument.createOperand(null, param.getType(), UMLPackage.Literals.LITERAL_NULL); 1145 callMessage.createArgument(param.getName(), param.getType(), UMLPackage.Literals.LITERAL_NULL); 1144 1146 } 1145 1147 }
Note: See TracChangeset
for help on using the changeset viewer.