ProblemDescriptor (PsiMethodCallExpression call) { return PsiUtil.isConstantExpression(call.getMethodExpression().getQualifierExpression()) ? getProblem(call, "inspection.redundant.string.intern.on.constant.message") : null; }