Files
openide/python/python-psi-impl
Mikhail Golubev 45882b10bd Consistently annotate PyElementVisitor method parameters as @NotNull
One of the compelling reasons for that is that, otherwise, they turn into
nullable types in Kotlin visitors introducing redundant checks everywhere.

Consequently, these changes break existing Kotlin implementations that now
have to remove nullable parameters from their overrides, but this is acceptable
since altering nullability annotations preserves binary compatibility,
and existing, not updated plugins will continue to function.

A note about source compatibility breakage will be added to Plugin Dev docs.

GitOrigin-RevId: 2b3549aecfbba9d7e6365d214400c202e10e61d1
2020-08-31 20:07:16 +00:00
..