Do not add nullability annotations to the methods of local classes

Nullability annotations are useless for the methods of local classes
due to their restricted scope.

^KT-62513: Fixed
This commit is contained in:
vladislav.grechko
2023-10-11 12:09:55 +02:00
committed by Space Team
parent 417aa236fb
commit 897eab6b50
7 changed files with 23 additions and 26 deletions
@@ -3,9 +3,7 @@ public final class Box$Creator : java/lang/Object, android/os/Parcelable$Creator
public void <init>()
(Landroid/os/Parcel;)LBox<*>;
public final Box createFromParcel(android.os.Parcel parcel)
@Lorg/jetbrains/annotations/NotNull;([]) // invisible
@Lorg/jetbrains/annotations/NotNull;([]) // invisible, parameter 0 {
public final Box createFromParcel(android.os.Parcel parcel) {
LABEL (L0)
ALOAD (1)
LDC (parcel)
@@ -32,7 +30,6 @@ public final class Box$Creator : java/lang/Object, android/os/Parcelable$Creator
(I)[LBox<*>;
public final Box[] newArray(int size)
@Lorg/jetbrains/annotations/NotNull;([]) // invisible
public java.lang.Object[] newArray(int size)
}