From a980499bbcf29b9623fa5d5fb9e56b9a2e6dec57 Mon Sep 17 00:00:00 2001 From: Bart van Helvert Date: Wed, 11 Feb 2026 22:05:04 +0100 Subject: [PATCH] doc [jvm]: Fix `JavaApiUsageInspection` doc GitOrigin-RevId: 64a8bac5f4c7c490461b6e5df6bb048409abeb20 --- .../com/intellij/codeInspection/JavaApiUsageInspection.kt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/jvm/jvm-analysis-impl/src/com/intellij/codeInspection/JavaApiUsageInspection.kt b/jvm/jvm-analysis-impl/src/com/intellij/codeInspection/JavaApiUsageInspection.kt index 8c24451bc258..375b79df5b18 100644 --- a/jvm/jvm-analysis-impl/src/com/intellij/codeInspection/JavaApiUsageInspection.kt +++ b/jvm/jvm-analysis-impl/src/com/intellij/codeInspection/JavaApiUsageInspection.kt @@ -52,11 +52,9 @@ import org.jetbrains.uast.textRange private const val EFFECTIVE_LL = "effectiveLL" /** - * In order to add the support for new API in the most recent JDK execute: - *
    - *
  1. Generate apiXXX.txt by running [com.intellij.codeInspection.tests.JavaApiUsageGenerator#testCollectSinceApiUsages]
  2. - *
  3. Put the generated text file under community/java/java-analysis-api/src/com/intellij/openapi/module
  4. - *
+ * To add the support for new API in the most recent JDK execute: + * - Generate apiXXX.txt by running [com.intellij.codeInspection.tests.JavaApiUsageGenerator#testCollectSinceApiUsages] + * - Put the generated text file under community/java/java-analysis-api/src/com/intellij/openapi/module */ class JavaApiUsageInspection : AbstractBaseUastLocalInspectionTool() { override fun getDefaultLevel(): HighlightDisplayLevel = HighlightDisplayLevel.ERROR