new CfmlFunctionDescription(function.getName(), function.getReturnType().getPresentableText());
final PsiParameter[] psiParameters = function.getParameterList().getParameters();
final int paramsNum = psiParameters.length;
for (int i = 0; i < paramsNum; i++) {
PsiParameter psiParameter = psiParameters[i];
javaMethodDescr.addParameter(new CfmlFunctionDescription.CfmlParameterDescription(psiParameter.getName(),
psiParameter.getType()
.getPresentableText(), true));
}
return javaMethodDescr;
}