Loading de.ugoe.cs.swe.T3Q/src/de/ugoe/cs/swe/T3Q/PreAnalyzer.java +15 −1 Original line number Diff line number Diff line Loading @@ -52,6 +52,18 @@ public class PreAnalyzer implements Callable<Boolean> { } } } else { synchronized (TTCN3GlobalScopeProvider.IMPORTS) { if (TTCN3GlobalScopeProvider.IMPORTS.containsKey(this.resource)) { TTCN3GlobalScopeProvider.IMPORTS.get(this.resource) .add(initializeImportedObjects(i, importedModule)); } else { TTCN3GlobalScopeProvider.IMPORTS.put(this.resource, initializeImportedObjects(i, importedModule)); } } } } return true; Loading @@ -60,7 +72,9 @@ public class PreAnalyzer implements Callable<Boolean> { private ImportData initializeImportedObjects(final ImportDef def, final TTCN3Module module) { ImportData data = new ImportData(def.getName(), def, module); if (module != null) { data.getExportedObjects().addAll(TTCN3GlobalScopeProvider.EXPORTED_OBJECTS.get(module.eResource())); } return data; } Loading de.ugoe.cs.swe.TTCN3/src/de/ugoe/cs/swe/validation/CodeStyleValidator.xtend +5 −4 Original line number Diff line number Diff line Loading @@ -1231,13 +1231,14 @@ class CodeStyleValidator extends AbstractDeclarativeValidator { statistics.incrementCountStyle val message = "Imported module \"" + d.importDef.name + "\" cannot be resolved!" val INode node = NodeModelUtils.getNode(d.importDef) warning( info( message, null, MessageClass.STYLE.toString, node.startLine.toString, node.endLine.toString, "6.18, " + MiscTools.getMethodName() "6.18, " + MiscTools.getMethodName(), LogLevel.INFORMATION.toString ); } Loading Loading
de.ugoe.cs.swe.T3Q/src/de/ugoe/cs/swe/T3Q/PreAnalyzer.java +15 −1 Original line number Diff line number Diff line Loading @@ -52,6 +52,18 @@ public class PreAnalyzer implements Callable<Boolean> { } } } else { synchronized (TTCN3GlobalScopeProvider.IMPORTS) { if (TTCN3GlobalScopeProvider.IMPORTS.containsKey(this.resource)) { TTCN3GlobalScopeProvider.IMPORTS.get(this.resource) .add(initializeImportedObjects(i, importedModule)); } else { TTCN3GlobalScopeProvider.IMPORTS.put(this.resource, initializeImportedObjects(i, importedModule)); } } } } return true; Loading @@ -60,7 +72,9 @@ public class PreAnalyzer implements Callable<Boolean> { private ImportData initializeImportedObjects(final ImportDef def, final TTCN3Module module) { ImportData data = new ImportData(def.getName(), def, module); if (module != null) { data.getExportedObjects().addAll(TTCN3GlobalScopeProvider.EXPORTED_OBJECTS.get(module.eResource())); } return data; } Loading
de.ugoe.cs.swe.TTCN3/src/de/ugoe/cs/swe/validation/CodeStyleValidator.xtend +5 −4 Original line number Diff line number Diff line Loading @@ -1231,13 +1231,14 @@ class CodeStyleValidator extends AbstractDeclarativeValidator { statistics.incrementCountStyle val message = "Imported module \"" + d.importDef.name + "\" cannot be resolved!" val INode node = NodeModelUtils.getNode(d.importDef) warning( info( message, null, MessageClass.STYLE.toString, node.startLine.toString, node.endLine.toString, "6.18, " + MiscTools.getMethodName() "6.18, " + MiscTools.getMethodName(), LogLevel.INFORMATION.toString ); } Loading