Loading de.ugoe.cs.swe.T3Q/src/de/ugoe/cs/swe/T3Q/UsageAnalyzer.java +2 −3 Original line number Diff line number Diff line Loading @@ -845,7 +845,7 @@ System.out.println("Analyzing function"); if(t.getType() != null && t.getType().equals("anytype")) addToOutput(output, "FieldConstExpressionSpec_anytype"); else addNToOutput(output, "FieldConstExpressionSpec_anytype", 0); } //automatic type //automatic type? for(ConstDef t : EcoreUtil2.getAllContentsOfType(module, ConstDef.class)) { if(t.getType() == null) addToOutput(output, "ConstDef_automatic_type"); } Loading @@ -853,8 +853,7 @@ System.out.println("Analyzing function"); if(t.getType() == null) addToOutput(output, "ModulePar_automatic_type"); } for(VarInstance t : EcoreUtil2.getAllContentsOfType(module, VarInstance.class)) { if(t.getListType() == null) addToOutput(output, "VarInstance_list_automatic_type"); if(t.getType() == null) addToOutput(output, "VarInstance_automatic_type"); if(t.getListType() == null && t.getType() == null) addToOutput(output, "VarInstance_automatic_type"); } } Loading Loading
de.ugoe.cs.swe.T3Q/src/de/ugoe/cs/swe/T3Q/UsageAnalyzer.java +2 −3 Original line number Diff line number Diff line Loading @@ -845,7 +845,7 @@ System.out.println("Analyzing function"); if(t.getType() != null && t.getType().equals("anytype")) addToOutput(output, "FieldConstExpressionSpec_anytype"); else addNToOutput(output, "FieldConstExpressionSpec_anytype", 0); } //automatic type //automatic type? for(ConstDef t : EcoreUtil2.getAllContentsOfType(module, ConstDef.class)) { if(t.getType() == null) addToOutput(output, "ConstDef_automatic_type"); } Loading @@ -853,8 +853,7 @@ System.out.println("Analyzing function"); if(t.getType() == null) addToOutput(output, "ModulePar_automatic_type"); } for(VarInstance t : EcoreUtil2.getAllContentsOfType(module, VarInstance.class)) { if(t.getListType() == null) addToOutput(output, "VarInstance_list_automatic_type"); if(t.getType() == null) addToOutput(output, "VarInstance_automatic_type"); if(t.getListType() == null && t.getType() == null) addToOutput(output, "VarInstance_automatic_type"); } } Loading