typeCastCandidates[i] = true;
hasCandidate = true;
}
}
if (hasCandidate) {
<BUG>PsiManager manager = expression.getManager();
PsiElementFactory factory = manager.getElementFactory();</BUG>
try {
for (int i = 0; i < args.length; i++) {
<BUG>final PsiExpression arg = deParenthesize(args[i]);
</BUG>
if (typeCastCandidates[i]) {

typeCastCandidates[i] = true;
hasCandidate = true;
}
}
if (hasCandidate) {
try {
for (int i = 0; i < args.length; i++) {
final PsiExpression arg = PsiUtil.deparenthesizeExpression(args[i]);
if (typeCastCandidates[i]) {
