Loading de.ugoe.cs.swe.T3Q/src/de/ugoe/cs/swe/T3Q/UsageAnalyzer.java +16 −3 Original line number Diff line number Diff line Loading @@ -507,13 +507,26 @@ public class UsageAnalyzer implements Callable<TTCN3Usage> { } /** * Analyzes a module par definition. Currently just a skeleton * Analyzes a module parameter definition. * @param mod The module par definition to be analyzed * @param output The TTCN3Usage to write the output to */ private void analyzeModuleParDef(ModuleParDef mod, TTCN3Usage output) { addToOutput(output, "ModulePar"); //TODO everything String id = "ModuleParam:"; int n = 1; if(mod.getMultitypeParam() != null) { id += "MultipleSize"; id += mod.getMultitypeParam().getParams().size(); //TODO types in multiple parameter } else if(mod.getParam().getType() != null) { if(mod.getParam().getType().getPre() != null) { id += mod.getParam().getType().getPre(); } else { id += "Non-Primitive"; } n = mod.getParam().getList().getParams().size(); } addNToOutput(output, id, n); } @Override Loading Loading
de.ugoe.cs.swe.T3Q/src/de/ugoe/cs/swe/T3Q/UsageAnalyzer.java +16 −3 Original line number Diff line number Diff line Loading @@ -507,13 +507,26 @@ public class UsageAnalyzer implements Callable<TTCN3Usage> { } /** * Analyzes a module par definition. Currently just a skeleton * Analyzes a module parameter definition. * @param mod The module par definition to be analyzed * @param output The TTCN3Usage to write the output to */ private void analyzeModuleParDef(ModuleParDef mod, TTCN3Usage output) { addToOutput(output, "ModulePar"); //TODO everything String id = "ModuleParam:"; int n = 1; if(mod.getMultitypeParam() != null) { id += "MultipleSize"; id += mod.getMultitypeParam().getParams().size(); //TODO types in multiple parameter } else if(mod.getParam().getType() != null) { if(mod.getParam().getType().getPre() != null) { id += mod.getParam().getType().getPre(); } else { id += "Non-Primitive"; } n = mod.getParam().getList().getParams().size(); } addNToOutput(output, id, n); } @Override Loading