api_changes_list_2020.md: group Java changes

This commit is contained in:
Yann Cébron 2020-09-21 13:02:49 +02:00
parent 166c14d412
commit 33f9c2d80c

View File

@ -65,9 +65,14 @@ Please see [Incompatible API Changes](/reference_guide/api_changes_list.md) on h
> **NOTE** Changes from API marked with `org.jetbrains.annotations.ApiStatus.@Experimental`/`ScheduledForRemoval` are not listed here, as incompatible changes are to be expected. > **NOTE** Changes from API marked with `org.jetbrains.annotations.ApiStatus.@Experimental`/`ScheduledForRemoval` are not listed here, as incompatible changes are to be expected.
## 2020.3 ## 2020.3
### Changes in IntelliJ Platform 2020.3 ### Changes in IntelliJ Platform 2020.3
`com.intellij.openapi.application.NonBlockingReadAction.finishOnUiThread` method parameter type changed from ``Consumer<T>`` to ``Consumer<? super T>``
: This may break source-compatibility with inheritors written in Kotlin.
### Changes in Java Plugin 2019.3
The PSI structure of multi-dimensional arrays in Java source files changed (see `com.intellij.psi.PsiTypeElement`) The PSI structure of multi-dimensional arrays in Java source files changed (see `com.intellij.psi.PsiTypeElement`)
: Now the children are flattened: brackets for all the dimensions are direct children of the `PsiTypeElement` that represent the multi-dimensional array. This change doesn't break source or binary compatibility but may produce behavioral changes in the code that traverses the tree of Java source files. : Now the children are flattened: brackets for all the dimensions are direct children of the `PsiTypeElement` that represent the multi-dimensional array. This change doesn't break source or binary compatibility but may produce behavioral changes in the code that traverses the tree of Java source files.
@ -75,9 +80,6 @@ The `com.intellij.psi.PsiAnnotation.getOwner` method now returns `PsiType` inste
: This change supports identifying whether a type annotation is attached to an inner class or a particular dimension of a multi-dimensional array. : This change supports identifying whether a type annotation is attached to an inner class or a particular dimension of a multi-dimensional array.
This change doesn't break source or binary compatibility but may produce behavioral changes for callers. This change doesn't break source or binary compatibility but may produce behavioral changes for callers.
`com.intellij.openapi.application.NonBlockingReadAction.finishOnUiThread` method parameter type changed from ``Consumer<T>`` to ``Consumer<? super T>``
: This may break source-compatibility with inheritors written in Kotlin.
### Changes in Python Plugin 2020.3 ### Changes in Python Plugin 2020.3
All parameters in `com.jetbrains.python.psi.PyElementVisitor` marked `@NotNull` All parameters in `com.jetbrains.python.psi.PyElementVisitor` marked `@NotNull`