Files
kotlin-fork/plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/SimpleLockTest.txt
T
vladislav.grechko 29eb1c7a63 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
2023-10-10 10:34:33 +00:00

40 lines
1.7 KiB
Plaintext
Vendored

@kotlin.Metadata
public final class SimpleLock {
// source: 'SimpleLockTest.kt'
private synthetic final static field _locked$volatile$FU: java.util.concurrent.atomic.AtomicIntegerFieldUpdater
private synthetic volatile field _locked$volatile: int
static method <clinit>(): void
public method <init>(): void
private synthetic final static method get_locked$volatile$FU(): java.util.concurrent.atomic.AtomicIntegerFieldUpdater
private synthetic final method get_locked$volatile(): int
private synthetic final method loop$atomicfu(p0: java.lang.Object, p1: java.util.concurrent.atomic.AtomicIntegerFieldUpdater, p2: kotlin.jvm.functions.Function1): void
private synthetic final method set_locked$volatile(p0: int): void
public final method withLock(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.Object
}
@kotlin.Metadata
final class SimpleLockTest$withLock$result$1 {
// source: 'SimpleLockTest.kt'
enclosing method SimpleLockTest.withLock()V
public final static field INSTANCE: SimpleLockTest$withLock$result$1
inner (anonymous) class SimpleLockTest$withLock$result$1
static method <clinit>(): void
method <init>(): void
public synthetic bridge method invoke(): java.lang.Object
public final method invoke(): java.lang.String
}
@kotlin.Metadata
public final class SimpleLockTest {
// source: 'SimpleLockTest.kt'
inner (anonymous) class SimpleLockTest$withLock$result$1
public method <init>(): void
public final method withLock(): void
}
@kotlin.Metadata
public final class SimpleLockTestKt {
// source: 'SimpleLockTest.kt'
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}