private static void convertArgs( final ActionArguments args, final ISyntacticElement elt, final Set<Diagnostic> errors) { if (args != null) { for (ArgumentDefinition def : EGaml.getArgsOf(args)) { ISyntacticElement arg = SyntacticFactory.create(ARG, def, false); addFacet(arg, NAME, convertToLabel(null, def.getName()), errors); EObject type = def.getType(); addFacet(arg, TYPE, convExpr(type, errors), errors); // addFacet(arg, TYPE, convertToConstantString(null, EGaml.getKey.caseTypeRef(type)), // errors); // convertType(arg, type, errors); Expression e = def.getDefault(); if (e != null) { addFacet(arg, DEFAULT, convExpr(e, errors), errors); } elt.addChild(arg); } } }