FIR/UAST: introduce fake nullability annotation for fake method
@Deprecated or synthetic methods won't be generated by LC. For source analysis purpose, though, UAST adds "fake" light method. While doing so, it needs to mimic the addition of nullability annotation by LC. Otherwise, e.g., if one method becomes @Deprecated, its return type nullability could be stripped too, which can be seen as a breaking API change (for some tool, such as Metalava). ^KTIJ-23807 Fixed
Showing
+74 -13
Please register or sign in to comment