Add bytecode listing tests for 'allopen' plugin with JVM_IR

This commit is contained in:
Dmitry Petrov
2021-03-18 15:05:38 +03:00
committed by TeamCityServer
parent e4d98d4e39
commit 2fd69a5718
8 changed files with 221 additions and 4 deletions
@@ -0,0 +1,43 @@
@AllOpen
@java.lang.annotation.Retention
@kotlin.Metadata
public annotation class AllOpen {
// source: 'allOpenOnNotClasses.kt'
}
@AllOpen
@kotlin.Metadata
public final enum class Enum {
// source: 'allOpenOnNotClasses.kt'
private synthetic final static field $VALUES: Enum[]
private synthetic final static method $values(): Enum[]
static method <clinit>(): void
private method <init>(p0: java.lang.String, p1: int): void
public static method valueOf(p0: java.lang.String): Enum
public static method values(): Enum[]
}
@AllOpen
@kotlin.Metadata
public interface Intf {
// source: 'allOpenOnNotClasses.kt'
}
@kotlin.Metadata
public final class MyClass {
// source: 'allOpenOnNotClasses.kt'
private @AllOpen @org.jetbrains.annotations.NotNull field prop: java.lang.String
public method <init>(): void
public final @AllOpen @org.jetbrains.annotations.NotNull method getProp(): java.lang.String
public final @AllOpen method method(): void
public final @AllOpen method setProp(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@AllOpen
@kotlin.Metadata
public final class Obj {
// source: 'allOpenOnNotClasses.kt'
public final static @org.jetbrains.annotations.NotNull field INSTANCE: Obj
static method <clinit>(): void
private method <init>(): void
}
@@ -0,0 +1,36 @@
@java.lang.annotation.Retention
@kotlin.Metadata
public annotation class AllOpen {
// source: 'anonymousObject.kt'
}
@kotlin.Metadata
public final class Test$a$1 {
// source: 'anonymousObject.kt'
enclosing method Test.<init>()V
inner (anonymous) class Test$a$1
method <init>(): void
public method run(): void
}
@kotlin.Metadata
public final class Test$b$1 {
// source: 'anonymousObject.kt'
enclosing method Test.b()V
inner (anonymous) class Test$b$1
method <init>(): void
public method run(): void
}
@AllOpen
@kotlin.Metadata
public class Test {
// source: 'anonymousObject.kt'
private final @org.jetbrains.annotations.NotNull field a: java.lang.Runnable
inner (anonymous) class Test$a$1
inner (anonymous) class Test$b$1
public method <init>(): void
private final static method b$lambda-0(): void
public method b(): void
public @org.jetbrains.annotations.NotNull method getA(): java.lang.Runnable
}
@@ -0,0 +1,24 @@
@java.lang.annotation.Retention
@kotlin.Metadata
public annotation class AllOpen {
// source: 'privateMembers.kt'
}
@AllOpen
@kotlin.Metadata
final class Test {
// source: 'privateMembers.kt'
private final @org.jetbrains.annotations.NotNull field internalProp: java.lang.String
private final @org.jetbrains.annotations.NotNull field privateProp: java.lang.String
private final @org.jetbrains.annotations.NotNull field protectedProp: java.lang.String
private final @org.jetbrains.annotations.NotNull field publicProp: java.lang.String
public method <init>(): void
public @org.jetbrains.annotations.NotNull method getInternalProp$test_module(): java.lang.String
protected @org.jetbrains.annotations.NotNull method getProtectedProp(): java.lang.String
public @org.jetbrains.annotations.NotNull method getPublicProp(): java.lang.String
public method internalMethod$test_module(): void
private final method privateMethod(): void
private final method privateTailrecMethod(): void
protected method protectedMethod(): void
public method publicMethod(): void
}