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
@@ -20,7 +20,7 @@ public final class FooClass$bar$1 {
synthetic final field this$0: FooClass
inner (anonymous) class FooClass$bar$1
method <init>(p0: FooClass): void
public final @org.jetbrains.annotations.NotNull method run(): java.lang.String
public final method run(): java.lang.String
}
@kotlin.Metadata