Do not add nullability annotations to the methods of anonymous classes

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

^KT-62044: Fixed
This commit is contained in:
vladislav.grechko
2023-09-04 20:44:13 +02:00
committed by Space Team
parent ed247a3892
commit 29eb1c7a63
55 changed files with 903 additions and 688 deletions
@@ -6,7 +6,7 @@ synthetic final class C$x$2$1 {
inner (anonymous) class C$x$2$1
static method <clinit>(): void
method <init>(): void
public @org.jetbrains.annotations.Nullable method get(): java.lang.Object
public method get(): java.lang.Object
}
@kotlin.Metadata
@@ -28,7 +28,7 @@ synthetic final class D$x$2$1 {
inner (anonymous) class D$x$2$1
static method <clinit>(): void
method <init>(): void
public @org.jetbrains.annotations.Nullable method get(): java.lang.Object
public method get(): java.lang.Object
}
@kotlin.Metadata
@@ -7,7 +7,7 @@ final class DP$provideDelegate$1 {
static method <clinit>(): void
method <init>(): void
public synthetic bridge method invoke(): java.lang.Object
public final @org.jetbrains.annotations.NotNull method invoke(): java.lang.String
public final method invoke(): java.lang.String
}
@kotlin.Metadata
@@ -49,7 +49,7 @@ final class H2$Companion$property$2 {
static method <clinit>(): void
method <init>(): void
public synthetic bridge method invoke(): java.lang.Object
public final @org.jetbrains.annotations.NotNull method invoke(): java.lang.String
public final method invoke(): java.lang.String
}
@kotlin.Metadata