private void checkSwitchCaseGuard(@Nullable PsiExpression guard) {
        if (guard == null) return;
        if (BoolUtils.isTrue(guard)) {
          LocalQuickFix fix = createSimplifyBooleanExpressionFix(guard, guard.textMatches(PsiKeyword.TRUE));
          holder.registerProblem(guard, JavaAnalysisBundle
            .message("dataflow.message.constant.no.ref", guard.textMatches(PsiKeyword.TRUE) ? 1 : 0), LocalQuickFix.notNullElements(fix));
        }
      }
private void checkSwitchCaseGuard(@Nullable PsiExpression guard)