static HighlightInfo.Builder checkYieldExpressionType(@NotNull PsiExpression expression) {
    if (PsiTypes.voidType().equals(expression.getType())) {
      String message = JavaErrorBundle.message("yield.void");
      return HighlightInfo.newHighlightInfo(HighlightInfoType.ERROR).range(expression).descriptionAndTooltip(message);
    }

    return null;
  }
static HighlightInfo.Builder checkYieldExpressionType(@NotNull PsiExpression expression)