You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As specified in this custom nullability proposal and as discussed with Jetbrains team, methods overridding parent one with @Nullable return values annotation require the @Nullable annotation to be present at the same level than @Override to get nullable qualifier taken in account in the overridden method.
This is currently not done in most places, so this need to be fixed to get null-safety handled correctly by IDEA and Kotlin.
Sébastien Deleuze opened SPR-15869 and commented
As specified in this custom nullability proposal and as discussed with Jetbrains team, methods overridding parent one with
@Nullable
return values annotation require the@Nullable
annotation to be present at the same level than@Override
to get nullable qualifier taken in account in the overridden method.This is currently not done in most places, so this need to be fixed to get null-safety handled correctly by IDEA and Kotlin.
Issue Links:
Referenced from: commits 73cf07e, 47a7475
The text was updated successfully, but these errors were encountered: