private static boolean hasNormalPriorityArgument(
      @NotNull PsiMethodCallExpression methodCallExpression) {
      final PsiExpressionList argumentList =
        methodCallExpression.getArgumentList();
      final PsiExpression[] expressions = argumentList.getExpressions();
      if (expressions.length != 1) {
        return false;
      }
      final PsiExpression expression = expressions[0];
      if (!(expression instanceof PsiReferenceExpression referenceExpression)) {
        return false;
      }
      final String referenceName = referenceExpression.getReferenceName();
      @NonNls final String normPriority = "NORM_PRIORITY";
      if (!normPriority.equals(referenceName)) {
        return false;
      }
      final PsiElement element = referenceExpression.resolve();
      if (!(element instanceof PsiField field)) {
        return false;
      }
      final PsiClass aClass = field.getContainingClass();
      final String className = aClass.getQualifiedName();
      return "java.lang.Thread".equals(className);
    }
private static boolean hasNormalPriorityArgument(
      @NotNull PsiMethodCallExpression methodCallExpression)