if (functionParameters != null) {
Collection<ResolveResult> result = new LinkedList<ResolveResult>();
String referenceName = getReferenceName();
for (CfmlParameter param : functionParameters) {
if (referenceName.equals(param.getName())) {
result.add(new PsiElementResolveResult(param));
}
}
return result.toArray(ResolveResult.EMPTY_ARRAY);
}
return ResolveResult.EMPTY_ARRAY;