LocalQuickFix (Object... infos) { final PsiReferenceExpression expression = (PsiReferenceExpression)infos[1]; if (PsiUtil.isLanguageLevel5OrHigher(expression) && !isStringEqualsCall(expression)) { return null; } return new StringEqualsCharSequenceFix(); }