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
@@ -9,7 +9,7 @@ final class<<T:Ljava/lang/Object;>Ljava/lang/Object;LSam;> TKt$specializedSam$1
// source: 't.kt'
<(Lkotlin/jvm/functions/Function0<Ljava/lang/String;>;)V> method <init>(p0: kotlin.jvm.functions.Function0): 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(Lkotlin/jvm/functions/Function0;)Ljava/lang/String;
synthetic final field <Lkotlin/jvm/functions/Function0<Ljava/lang/String;>;> $f: kotlin.jvm.functions.Function0
inner (anonymous) class TKt$specializedSam$1