platform API: introduce ApiStatus.Internal annotation (IDEA-211175)

Usages of elements annotated with it in external plugins will be highlighted as warnings.
This commit is contained in:
nik
2019-04-17 09:05:22 +03:00
parent d8ac61cb65
commit 3ab4ba71b7
2 changed files with 13 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ import static com.intellij.codeInspection.deprecation.DeprecationInspectionBase.
public class UnstableApiUsageInspection extends AnnotatedElementInspectionBase {
public final List<String> unstableApiAnnotations = new ExternalizableStringSet(
"org.jetbrains.annotations.ApiStatus.Experimental",
"org.jetbrains.annotations.ApiStatus.Internal",
"com.google.common.annotations.Beta",
"io.reactivex.annotations.Beta",
"io.reactivex.annotations.Experimental",