CompletionOptionType (int value) { switch (value) { case 0: return IMPORT; case 1: return CLASS; case 2: return FUNCTION; case 3: return ATTR; case 4: return BUILTIN; case 5: return PARAM; case 11: return IPYTHON; case 12: return IPYTHON_MAGIC; default: return null; } }