IDEA-219619 plugin.xml: highlight EP/EP-attributes annotated with @ApiStatus.Experimental

GitOrigin-RevId: b91a379bdb63f54eefbf1af339d965f344283610
This commit is contained in:
Yann Cébron
2019-08-13 12:59:14 +02:00
committed by intellij-monorepo-bot
parent 56875812ac
commit 25086d00d4
3 changed files with 23 additions and 8 deletions

View File

@@ -6,6 +6,7 @@
<extensionPoint name="foo.bar" interface="java.util.List"/>
<extensionPoint name="ext" interface="java.lang.Runnable"/>
<extensionPoint name="deprecatedEP" interface="foo.MyDeprecatedEP"/>
<extensionPoint name="experimentalApiEP" interface="foo.MyExperimentalEP"/>
</extensionPoints>
<depends>com.intellij.custom</depends>
@@ -18,6 +19,8 @@
<<error descr="Deprecated EP 'com.intellij.myPlugin.deprecatedEP'">myPlugin.deprecatedEP</error> implementation="foo.MyDeprecatedEPImpl"/>
<warning descr="Usage of API marked with @org.jetbrains.annotations.ApiStatus.Experimental"><myPlugin.experimentalApiEP implementation="foo.MyExperimentalEP" <warning descr="Usage of API marked with @org.jetbrains.annotations.ApiStatus.Experimental">experimentalAttribute="java.lang.String"</warning>/></warning>
<myService serviceImplementation="foo.<error descr="Cannot resolve class 'MyInvalid'">MyInvalid</error>"/>
<myService serviceImplementation="foo.MyRunnable" os="mac"/>