void (final GenericDomValue<PsiMethod> genericValue, final ConvertContext context, final PsiElement element) { assert element instanceof PsiMethod : "PsiMethod expected"; final PsiMethod psiMethod = (PsiMethod)element; final ParentType parent = getParent(context); final AbstractMethodParams methodParams = getMethodParams(parent); genericValue.setStringValue(psiMethod.getName()); if (methodParams != null) { methodParams.undefine(); for (PsiParameter parameter : psiMethod.getParameterList().getParameters()) { methodParams.addMethodParam().setValue(parameter.getType()); } } }