val module = parent.findDesiredParent(TTCN3Module)
for (p : params) {
if (p.isUnreferenced(module)) { // TODO: test this call and consider alternatives
if (p.isUnreferenced(module)) { // TODO: test this call and consider alternatives and fix this! Parameters passed to other functions are not recognized.
@@ -250,14 +246,13 @@ public class NamingConventionsValidator extends AbstractDeclarativeValidator {
val INode node = NodeModelUtils.getNode(template)
val infoMessage = "The template definition for \"" + template.name +
"\" is ambiguous. It cannot be determined whether it is a send or a receive template according to STF160's conventions. It will not be analyzed further for naming conventions compliance."
info(
warning(
infoMessage,
TTCN3Package.eINSTANCE.TTCN3Reference_Name,
MessageClass.NAMING.toString,
node.startLine.toString,
node.endLine.toString,
"2.1, " + MiscTools.getMethodName(),
LogLevel.INFORMATION.toString
"2.1, " + MiscTools.getMethodName()
);
return;
}
@@ -307,14 +302,13 @@ public class NamingConventionsValidator extends AbstractDeclarativeValidator {