Use box tests to check if the light analysis mode (without analyzing bodies when possible) produces the same result as the complete analysis. See also the next commit in which light analysis mode is applied. Note that no tests were changed.

This commit is contained in:
Yan Zhulanow
2016-11-03 01:21:23 +03:00
committed by Yan Zhulanow
parent 8bdb54929b
commit 328286ab14
2287 changed files with 51250 additions and 2 deletions
@@ -0,0 +1,33 @@
public final class A {
public final static field Companion: A.Companion
private final static @org.jetbrains.annotations.NotNull field b: java.lang.String
inner class A/Companion
public method <init>(): void
public final static @kotlin.jvm.JvmStatic @testAnnotation @org.jetbrains.annotations.NotNull method test1(): java.lang.String
}
public final static class A/Companion {
inner class A/Companion
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getB(): java.lang.String
public final @kotlin.jvm.JvmStatic @testAnnotation @org.jetbrains.annotations.NotNull method test1(): java.lang.String
}
public final class B {
public final static field INSTANCE: B
private final static @org.jetbrains.annotations.NotNull field b: java.lang.String
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getB(): java.lang.String
public final static @kotlin.jvm.JvmStatic @testAnnotation @org.jetbrains.annotations.NotNull method test1(): java.lang.String
}
public final class TestKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@kotlin.annotation.Retention
@java.lang.annotation.Retention
public annotation class testAnnotation
@@ -0,0 +1,20 @@
public final class A {
public final static field INSTANCE: A
private final static @org.jetbrains.annotations.NotNull field b: java.lang.String
private final static @org.jetbrains.annotations.NotNull field c: java.lang.String
private method <init>(): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method c$annotations(): void
public final @org.jetbrains.annotations.NotNull method getB(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getC(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test1(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test2(): java.lang.String
public final @org.jetbrains.annotations.NotNull method test3(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test4(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test5(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
public final @org.jetbrains.annotations.NotNull method test6(): java.lang.String
}
public final class ClosureKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,28 @@
public final class A {
public final static field Companion: A.Companion
private final static @org.jetbrains.annotations.NotNull field b: java.lang.String
private final static @org.jetbrains.annotations.NotNull field c: java.lang.String
inner class A/Companion
public method <init>(): void
public final static @org.jetbrains.annotations.NotNull method getC(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test1(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test2(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test3(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
}
public final static class A/Companion {
inner class A/Companion
private method <init>(): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method c$annotations(): void
public final @org.jetbrains.annotations.NotNull method getB(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getC(): java.lang.String
public final @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test1(): java.lang.String
public final @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test2(): java.lang.String
public final @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test3(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
}
public final class SimpleCompanionObjectKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,21 @@
public final class A {
public final static field INSTANCE: A
private method <init>(): void
public final static @kotlin.jvm.JvmStatic method plusAssign(@org.jetbrains.annotations.NotNull p0: B, @org.jetbrains.annotations.NotNull p1: B): void
public final method test1(@org.jetbrains.annotations.NotNull p0: B): void
}
public final class B {
private field s: int
public method <init>(): void
public method <init>(p0: int): void
public synthetic method <init>(p0: int, p1: int, p2: kotlin.jvm.internal.DefaultConstructorMarker): void
public final method getS(): int
public final method setS(p0: int): void
}
public final class ConventionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,11 @@
public final class A {
public final static field INSTANCE: A
private method <init>(): void
public synthetic static method test$default(p0: java.lang.String, p1: int, p2: java.lang.Object): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
}
public final class DefaultKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,26 @@
public enum class A {
public final static field Companion: A.Companion
private final static @org.jetbrains.annotations.NotNull field bar: java.lang.String
public final static @org.jetbrains.annotations.NotNull field constBar: java.lang.String
public final static @kotlin.jvm.JvmField @org.jetbrains.annotations.NotNull field foo: java.lang.String
inner class A/Companion
protected method <init>(p0: java.lang.String, p1: int): void
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method baz(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getBar(): java.lang.String
public static method valueOf(p0: java.lang.String): A
public static method values(): A[]
}
public final static class A/Companion {
inner class A/Companion
private method <init>(): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method bar$annotations(): void
public final @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method baz(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getBar(): java.lang.String
}
public final class EnumCompanionObjectKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,16 @@
public final class AX {
public final static field INSTANCE: AX
private final static @org.jetbrains.annotations.NotNull field c: java.lang.String
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method aNonStatic(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method aStatic(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method b(): java.lang.String
private synthetic deprecated final static @kotlin.jvm.JvmStatic method c$annotations(): void
public final static @org.jetbrains.annotations.NotNull method getC(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getProperty(): java.lang.String
}
public final class ExplicitObjectKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,14 @@
public final class A {
public final static field INSTANCE: A
private method <init>(): void
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method a(): java.lang.String
}
public final class FunAccessKt {
private static @org.jetbrains.annotations.NotNull field holder: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getA(): A
public final static @org.jetbrains.annotations.NotNull method getHolder(): java.lang.String
public final static method setHolder(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,32 @@
public final class C {
public final static field Companion: C.Companion
private final static field p1: int
inner class C/Companion
public method <init>(): void
public final static @kotlin.jvm.JvmStatic method f1(): int
public final static method getP1(): int
}
public final static class C/Companion {
inner class C/Companion
private method <init>(): void
public final @kotlin.jvm.JvmStatic method f1(): int
public final method getP1(): int
private synthetic deprecated final static @kotlin.jvm.JvmStatic method p1$annotations(): void
}
public final class ImportStaticMemberFromObjectKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class O {
public final static field INSTANCE: O
private final static field p: int
private method <init>(): void
public final static @kotlin.jvm.JvmStatic method f(): int
public final static method getP(): int
private synthetic deprecated final static @kotlin.jvm.JvmStatic method p$annotations(): void
}
@@ -0,0 +1,11 @@
public final class A {
public final static field INSTANCE: A
private method <init>(): void
public synthetic static method test$default(p0: java.lang.String, p1: int, p2: java.lang.Object): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
}
public final class InlineKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,15 @@
public final class Foo {
public final static field INSTANCE: Foo
private final static field a: java.lang.String
private method <init>(): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method a$annotations(): void
public final method foo(): void
}
public final class InlinePropertyAccessorsKt {
private static @org.jetbrains.annotations.NotNull field result: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
public final static method setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,23 @@
public final class Kt9897_staticKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class Test {
public final static field INSTANCE: Test
private static field l: long
private static @org.jetbrains.annotations.NotNull field z: java.lang.String
private method <init>(): void
public final method changeLong(): long
public final @org.jetbrains.annotations.NotNull method changeObject(): java.lang.String
public final method getL(): long
public final static method getSomeProperty(@org.jetbrains.annotations.NotNull p0: java.lang.String): int
public final static method getSomeProperty(p0: long): long
public final @org.jetbrains.annotations.NotNull method getZ(): java.lang.String
public final method setL(p0: long): void
public final static method setSomeProperty(@org.jetbrains.annotations.NotNull p0: java.lang.String, p1: int): void
public final static method setSomeProperty(p0: long, p1: long): void
public final method setZ(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method someProperty$annotations(p0: java.lang.String): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method someProperty$annotations(p0: long): void
}
@@ -0,0 +1,17 @@
public final class A {
public final static field INSTANCE: A
private final static @org.jetbrains.annotations.NotNull field b: java.lang.String
private final static @org.jetbrains.annotations.NotNull field c: java.lang.String
private method <init>(): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method c$annotations(): void
public final @org.jetbrains.annotations.NotNull method getB(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getC(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test1(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test2(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test3(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
}
public final class SimpleObjectKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,23 @@
public final class A {
public final static field INSTANCE: A
private static field a: int
private static field b: int
private static field c: int
private method <init>(): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method a$annotations(): void
public final static method getA(): int
public final static @kotlin.jvm.JvmStatic method getB(): int
public final method getC(): int
public final static method setA(p0: int): void
public final method setB(p0: int): void
public final static @kotlin.jvm.JvmStatic method setC(p0: int): void
}
public final class PostfixIncKt {
private static @org.jetbrains.annotations.NotNull field holder: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getA(): A
public final static @org.jetbrains.annotations.NotNull method getHolder(): java.lang.String
public final static method setHolder(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,23 @@
public final class A {
public final static field INSTANCE: A
private static field a: int
private static field b: int
private static field c: int
private method <init>(): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method a$annotations(): void
public final static method getA(): int
public final static @kotlin.jvm.JvmStatic method getB(): int
public final method getC(): int
public final static method setA(p0: int): void
public final method setB(p0: int): void
public final static @kotlin.jvm.JvmStatic method setC(p0: int): void
}
public final class PrefixIncKt {
private static @org.jetbrains.annotations.NotNull field holder: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getA(): A
public final static @org.jetbrains.annotations.NotNull method getHolder(): java.lang.String
public final static method setHolder(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,20 @@
public final class A {
public final static field INSTANCE: A
inner class A/Z
private method <init>(): void
private final static @kotlin.jvm.JvmStatic method a(): java.lang.String
}
public final class A/Z {
public final static field INSTANCE: A.Z
private final static @org.jetbrains.annotations.NotNull field p: java.lang.String
inner class A/Z
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getP(): java.lang.String
}
public final class PrivateMethodKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,24 @@
public final class KotlinKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public class TestApp {
public final static field Companion: TestApp.Companion
private static @org.jetbrains.annotations.NotNull field value: java.lang.String
inner class TestApp/Companion
public method <init>(): void
public final static @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
private final static method setValue(p0: java.lang.String): void
}
public final static class TestApp/Companion {
inner class TestApp/Companion
private method <init>(): void
public synthetic final static @org.jetbrains.annotations.NotNull method access$getValue$p(p0: TestApp.Companion): java.lang.String
public synthetic final static method access$setValue$p(p0: TestApp.Companion, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
private final method setValue(p0: java.lang.String): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method value$annotations(): void
}
@@ -0,0 +1,23 @@
public final class A {
public final static field INSTANCE: A
private static field a: int
private static field b: int
private static field c: int
private method <init>(): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method a$annotations(): void
public final static method getA(): int
public final static @kotlin.jvm.JvmStatic method getB(): int
public final method getC(): int
public final static method setA(p0: int): void
public final method setB(p0: int): void
public final static @kotlin.jvm.JvmStatic method setC(p0: int): void
}
public final class PropertyAccessKt {
private static @org.jetbrains.annotations.NotNull field holder: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getA(): A
public final static @org.jetbrains.annotations.NotNull method getHolder(): java.lang.String
public final static method setHolder(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,28 @@
public final class Foo {
public final static field Companion: Foo.Companion
private final static field a: java.lang.String
private final @org.jetbrains.annotations.NotNull field b: kotlin.jvm.functions.Function0
private final @org.jetbrains.annotations.NotNull field c: java.lang.Runnable
inner class Foo/Companion
public method <init>(): void
private final static method getA(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getB(): kotlin.jvm.functions.Function0
public final @org.jetbrains.annotations.NotNull method getC(): java.lang.Runnable
}
public final static class Foo/Companion {
inner class Foo/Companion
private method <init>(): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method a$annotations(): void
public synthetic final static @org.jetbrains.annotations.NotNull method access$getA$p(p0: Foo.Companion): java.lang.String
private final method getA(): java.lang.String
}
public final class PropertyAccessorsCompanionKt {
private static @org.jetbrains.annotations.NotNull field result: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
public final static method setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,18 @@
public final class Foo {
public final static field INSTANCE: Foo
private final static field a: java.lang.String
private final static @org.jetbrains.annotations.NotNull field b: kotlin.jvm.functions.Function0
private final static @org.jetbrains.annotations.NotNull field c: java.lang.Runnable
private method <init>(): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method a$annotations(): void
public final @org.jetbrains.annotations.NotNull method getB(): kotlin.jvm.functions.Function0
public final @org.jetbrains.annotations.NotNull method getC(): java.lang.Runnable
}
public final class PropertyAccessorsObjectKt {
private static @org.jetbrains.annotations.NotNull field result: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
public final static method setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,14 @@
public final class PropertyAsDefaultKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
public final class X {
public final static field INSTANCE: X
private final static @org.jetbrains.annotations.NotNull field x: java.lang.String
private method <init>(): void
public synthetic static method fn$default(p0: X, p1: java.lang.String, p2: int, p3: java.lang.Object): java.lang.String
public final @org.jetbrains.annotations.NotNull method fn(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getX(): java.lang.String
private synthetic deprecated final static @kotlin.jvm.JvmStatic method x$annotations(): void
}
@@ -0,0 +1,19 @@
public final class A {
public final static field INSTANCE: A
private final static @org.jetbrains.annotations.NotNull field b: java.lang.String
private final static @org.jetbrains.annotations.NotNull field c: java.lang.String
private method <init>(): void
private synthetic deprecated final static @kotlin.jvm.JvmStatic method c$annotations(): void
public final @org.jetbrains.annotations.NotNull method getB(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getC(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test1(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test2(): java.lang.String
public final @org.jetbrains.annotations.NotNull method test3(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test4(): java.lang.String
public final static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method test5(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
}
public final class SimpleKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,20 @@
public final class C {
public final static field Companion: C.Companion
inner class C/Companion
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method bar(): java.lang.String
private final static @kotlin.jvm.JvmStatic method foo(): java.lang.String
}
public final static class C/Companion {
inner class C/Companion
private method <init>(): void
public synthetic final static @org.jetbrains.annotations.NotNull method access$foo(p0: C.Companion): java.lang.String
private final @kotlin.jvm.JvmStatic method foo(): java.lang.String
}
public final class SyntheticAccessorKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}