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:
committed by
Space Team
parent
ed247a3892
commit
29eb1c7a63
Vendored
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user