Loading de.ugoe.cs.swe.TTCN3/src/de/ugoe/cs/swe/common/TTCN3ReferenceHelper.java +20 −2 Original line number Diff line number Diff line Loading @@ -166,10 +166,28 @@ public class TTCN3ReferenceHelper { .eContainer() .eContainer() instanceof Assignment ) { //set to default if absent if (refElement instanceof FormalValuePar && ((FormalValuePar)refElement).getInOut() == null) { ((FormalValuePar)refElement).setInOut("in"); } else if (refElement instanceof FormalTemplatePar && ((FormalTemplatePar)refElement).getInOut() == null) { ((FormalTemplatePar)refElement).setInOut("in"); } //check out or inout parameters if ((refElement instanceof FormalValuePar && ((FormalValuePar)refElement).getInOut().equals("out")) && ( ((FormalValuePar)refElement).getInOut().equals("out") || ((FormalValuePar)refElement).getInOut().equals("inout") ) ) || (refElement instanceof FormalTemplatePar && ((FormalTemplatePar)refElement).getInOut().equals("out")) && ( ((FormalTemplatePar)refElement).getInOut().equals("out") || ((FormalTemplatePar)refElement).getInOut().equals("inout") ) ) ) { return true; } else { Loading Loading
de.ugoe.cs.swe.TTCN3/src/de/ugoe/cs/swe/common/TTCN3ReferenceHelper.java +20 −2 Original line number Diff line number Diff line Loading @@ -166,10 +166,28 @@ public class TTCN3ReferenceHelper { .eContainer() .eContainer() instanceof Assignment ) { //set to default if absent if (refElement instanceof FormalValuePar && ((FormalValuePar)refElement).getInOut() == null) { ((FormalValuePar)refElement).setInOut("in"); } else if (refElement instanceof FormalTemplatePar && ((FormalTemplatePar)refElement).getInOut() == null) { ((FormalTemplatePar)refElement).setInOut("in"); } //check out or inout parameters if ((refElement instanceof FormalValuePar && ((FormalValuePar)refElement).getInOut().equals("out")) && ( ((FormalValuePar)refElement).getInOut().equals("out") || ((FormalValuePar)refElement).getInOut().equals("inout") ) ) || (refElement instanceof FormalTemplatePar && ((FormalTemplatePar)refElement).getInOut().equals("out")) && ( ((FormalTemplatePar)refElement).getInOut().equals("out") || ((FormalTemplatePar)refElement).getInOut().equals("inout") ) ) ) { return true; } else { Loading