mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
api_changes_2020: add pattern "parameter marked"
This commit is contained in:
parent
122ef035cc
commit
b9d89220e1
@ -25,6 +25,7 @@ The following problem patterns are supported:
|
||||
<class name>.<method name>(<human-readable parameters>) method marked final
|
||||
<class name> (class|interface) now (extends|implements) <class name> and inherits its final method <method name>(<human-readable parameters>)?
|
||||
<class name> (class|interface) now (extends|implements) <class name> and inherits its abstract method <method name>(<human-readable parameters>)?
|
||||
<class name>.<method name> method <parameter name> parameter marked @<class name>
|
||||
|
||||
<class name>(<human-readable parameters>) constructor removed
|
||||
<class name>(<human-readable parameters>) constructor parameter <type> removed
|
||||
@ -44,6 +45,7 @@ where
|
||||
<class name> is a fully-qualified name of the class, e.g. com.intellij.openapi.actionSystem.AnAction$InnerClass.
|
||||
<method name> is the exact method's name. Note that constructors have dedicated patterns.
|
||||
<human-readable parameters> is a string representing parameters, which are not necessarily fully qualified. They do not affect the parser. For example, instead of (java.lang.Object, java.util.List, int) you are free to write (Object, List<String>, int)
|
||||
<parameter name> is exact name of the method's parameter
|
||||
<property name> is a full name of a property from .properties file, like "some.action.description"
|
||||
<bundle name> is a fully qualified name of the property bundle, which includes its package, like "message.IdeBundle"
|
||||
|
||||
@ -77,4 +79,4 @@ Please see [Incompatible API Changes](/reference_guide/api_changes_list.md) on h
|
||||
: Remove `?`s in your Kotlin code.
|
||||
|
||||
`com.intellij.codeInspection.unused.ImplicitPropertyUsageProvider` method `isUsed` parameter marked `@NotNull`.
|
||||
: Remove `?`s in your Kotlin code.
|
||||
: Remove `?`s in your Kotlin code.
|
||||
|
Loading…
x
Reference in New Issue
Block a user