public static void GenerateObjCMethodSignature(this CCodeGenerator gen,
                                                       Method method)
        {
            gen.Write("{0}", method.IsStatic ? "+" : "-");

            var retType = method.ReturnType.Visit(gen.CTypePrinter);

            gen.Write(" ({0}){1}", retType, method.Name);

            gen.Write(gen.CTypePrinter.VisitParameters(method.Parameters));
        }
 public static bool GenerateObjCField(this CCodeGenerator gen, Field field)
 {
     gen.WriteLine($"{GetObjCAccessKeyword(field.Access)} {field.Type} {field.Name};");
     return(true);
 }