Commit e27278ac authored by Daniel Honsel's avatar Daniel Honsel
Browse files

improved

parent 6599d02f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -235,9 +235,10 @@ public class NamingConventionsValidator extends AbstractDeclarativeValidator {
				regExp = activeProfile.namingConventionsConfig.componentInstanceRegExp
				message = "ComponentInstance"
			} else {
				if (refType == null) {
				if (refType.name == null) {
					val INode node = NodeModelUtils.getNode(variable)
					val infoMessage = "The type declaration for \"" + refType.name + "\" could not be resolved. It cannot be determined whether the variable instances of this type are component instances. They will be treated as variable instances."
					val INode nodeType = NodeModelUtils.getNode(type)
					val infoMessage = "The type declaration for \"" + nodeType.text + "\" could not be resolved. It cannot be determined whether the variable instances of this type are component instances. They will be treated as variable instances."
					info(
						infoMessage,
						TTCN3Package.eINSTANCE.TTCN3Reference_Name,