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
@@ -4,7 +4,7 @@ synthetic final class<null> TKt$specializedSam$1 {
static <null> method <clinit>(): void
<null> method <init>(): void
public synthetic bridge <null> method get(): java.lang.Object
public final @org.jetbrains.annotations.NotNull <null> method get(): java.lang.String
public final <null> method get(): java.lang.String
enclosing method TKt.specializedSam()Ljava/lang/String;
public final static field <null> INSTANCE: TKt$specializedSam$1
inner (anonymous) class TKt$specializedSam$1