void (ParamInfo pair, String value) { PsiType type; try { type = GroovyPsiElementFactory.getInstance(myProject).createTypeElement(value).getType(); } catch (IncorrectOperationException e) { return; } pair.type = type.getCanonicalText(); }