Commit 0047de31 authored by Leonard Faecke's avatar Leonard Faecke
Browse files

+ Added analysis of groups

parent 522e8f9d
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -380,12 +380,19 @@ public class UsageAnalyzer implements Callable<TTCN3Usage> {
	}
	
	/**
	 * Analyzes a group definition. Currently just a skeleton
	 * Analyzes a group definition on its size
	 * @param group The group definition to be analyzed
	 * @param output The TTCN3Usage to write the output to
	 */
	private void analyzeGroupDef(GroupDef group, TTCN3Usage output) {
		System.out.println("TODO");
		String id = "Group";
		if(group.getList() != null) {
			id += "Size" + group.getList().getDefinitions().size();
		} else {
			id += "Size0";
		}
		//TODO add analysis of inner group structure
		addToOutput(output, id);
	}
	
	/**
@@ -416,7 +423,7 @@ public class UsageAnalyzer implements Callable<TTCN3Usage> {
	}
	
	/**
	 * Analyzes a type definition. Currently just a skeleton
	 * Analyzes a type definition
	 * @param type The type definition to be analyzed
	 * @param output The TTCN3Usage to write the output to
	 */