mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
doc [jvm]: Fix JavaApiUsageInspection doc
GitOrigin-RevId: 64a8bac5f4c7c490461b6e5df6bb048409abeb20
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2384aa3b54
commit
a980499bbc
@@ -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:
|
||||
* <ol>
|
||||
* <li>Generate apiXXX.txt by running [com.intellij.codeInspection.tests.JavaApiUsageGenerator#testCollectSinceApiUsages]</li>
|
||||
* <li>Put the generated text file under community/java/java-analysis-api/src/com/intellij/openapi/module</li>
|
||||
* </ol>
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user