myIsForCompletion = referenceName == null;
myReferenceName = referenceName != null ? referenceName.toLowerCase() : null;
myIsMethodCall = parent instanceof CfmlFunctionCallExpression || parent instanceof CfmlTagInvokeImpl;
if (parent instanceof CfmlFunctionCallExpression && !myIsForCompletion) {
final PsiType[] parameterTypes = ((CfmlFunctionCallExpression)parent).getArgumentTypes();
myMethods = new JavaMethodResolveHelper(parent, parent.getContainingFile(), parameterTypes);
}
else {
myMethods = new JavaMethodResolveHelper(parent, parent.getContainingFile(), null);
}
}