Files
kotlin-fork/plugins/atomicfu/atomicfu-compiler/testData/box/atomic_extensions/ArrayLoopTest.txt
T
mvicsokolova 5c5367d377 [atomicfu-JVM] Preparation for commonization of JVM and K/N transformers
The following updates in the JVM/IR plugin were made:
* Lots of refactoring with preparation for K/N support: commonization of transformations.
* Improved error handling (checks for visibility constraints, appending message about usage constraints in case of an error).
* Explicit requirements for the visibility of atomic properties: to prevent leaking they should be private/internal or be members of private/internal classes.
* Fixed visibility of generated properties: volatile properties are always private and atomic updaters have the same visibility as the original atomic property.
* Volatile fields are generated from scratch and original atomic properties are removed.
* Delegated properties support is fixed (only declaration in the same scope is allowed).
* Non-inline atomic extensions are forbidden.
* For top-level atomics: only one wrapper class per file (with corresponding visibility) is generated.
* Bug fixes.

The corresponding tickets: 
https://github.com/Kotlin/kotlinx-atomicfu/issues/322
KT-60528



Merge-request: KT-MR-10579
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com>
2023-07-20 13:59:23 +00:00

41 lines
2.5 KiB
Plaintext
Vendored

@kotlin.Metadata
final class ArrayInlineFunctionTest$Box {
// source: 'ArrayLoopTest.kt'
private final field n: int
public method <init>(p0: int): void
public final method component1(): int
public synthetic static method copy$default(p0: ArrayInlineFunctionTest$Box, p1: int, p2: int, p3: java.lang.Object): ArrayInlineFunctionTest$Box
public final @org.jetbrains.annotations.NotNull method copy(p0: int): ArrayInlineFunctionTest$Box
public method equals(@org.jetbrains.annotations.Nullable p0: java.lang.Object): boolean
public final method getN(): int
public method hashCode(): int
public @org.jetbrains.annotations.NotNull method toString(): java.lang.String
private final inner class ArrayInlineFunctionTest$Box
}
@kotlin.Metadata
public final class ArrayInlineFunctionTest {
// source: 'ArrayLoopTest.kt'
private synthetic final field anyArr: java.util.concurrent.atomic.AtomicReferenceArray
private synthetic final field refArr: java.util.concurrent.atomic.AtomicReferenceArray
public method <init>(): void
private final method action(p0: ArrayInlineFunctionTest$Box): ArrayInlineFunctionTest$Box
private synthetic final method getAndUpdate$atomicfu$array(p0: java.util.concurrent.atomic.AtomicReferenceArray, p1: int, p2: kotlin.jvm.functions.Function1): java.lang.Object
private synthetic final method getAnyArr(): java.util.concurrent.atomic.AtomicReferenceArray
private synthetic final method getRefArr(): java.util.concurrent.atomic.AtomicReferenceArray
private synthetic final method loop$atomicfu$array(p0: java.util.concurrent.atomic.AtomicReferenceArray, p1: int, p2: kotlin.jvm.functions.Function1): void
public final method testArrayElementGetAndUpdate(): void
public final method testArrayElementUpdate(): void
public final method testArrayElementUpdateAndGet(): void
public final method testSetArrayElementValueInLoop(): void
private synthetic final method update$atomicfu$array(p0: java.util.concurrent.atomic.AtomicReferenceArray, p1: int, p2: kotlin.jvm.functions.Function1): void
private synthetic final method updateAndGet$atomicfu$array(p0: java.util.concurrent.atomic.AtomicReferenceArray, p1: int, p2: kotlin.jvm.functions.Function1): java.lang.Object
private final inner class ArrayInlineFunctionTest$Box
}
@kotlin.Metadata
public final class ArrayLoopTestKt {
// source: 'ArrayLoopTest.kt'
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}