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:
committed by
Yan Zhulanow
parent
8bdb54929b
commit
328286ab14
@@ -0,0 +1,17 @@
|
||||
public final class DIExampleKt {
|
||||
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
|
||||
private final static @org.jetbrains.annotations.NotNull field project: Project
|
||||
private final static @org.jetbrains.annotations.NotNull field x1$delegate: Project
|
||||
private final static @org.jetbrains.annotations.NotNull field x2$delegate: Project
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getProject(): Project
|
||||
private final static method getValue(@org.jetbrains.annotations.NotNull p0: Project, p1: java.lang.Object, p2: kotlin.reflect.KProperty): java.lang.Object
|
||||
public final static method getX1(): int
|
||||
public final static @org.jetbrains.annotations.NotNull method getX2(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Project {
|
||||
public method <init>(): void
|
||||
public final method getInstance(@org.jetbrains.annotations.NotNull p0: java.lang.Class): java.lang.Object
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public abstract class A {
|
||||
public method <init>(): void
|
||||
public abstract @org.jetbrains.annotations.NotNull method f(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class AnonymousObjectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method foo(): A
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
public interface A {
|
||||
public abstract @org.jetbrains.annotations.NotNull method f1(): java.lang.String
|
||||
public abstract @org.jetbrains.annotations.NotNull method f2(): java.lang.String
|
||||
public abstract @org.jetbrains.annotations.NotNull method f3(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class AnonymousObjectNoPropagateKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method doWork(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method doWorkInline(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.String
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public abstract class A {
|
||||
public method <init>(): void
|
||||
public abstract @org.jetbrains.annotations.NotNull method f(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class AnonymousObjectReifiedSupertypeKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method foo(): A
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
public final class ApproximateCapturedTypesKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class Inv {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Obs {
|
||||
public method <init>(): void
|
||||
private final method lift(p0: Operator): Inv
|
||||
}
|
||||
|
||||
|
||||
public interface Operator
|
||||
|
||||
|
||||
public final class SwOperator {
|
||||
public method <init>(): void
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class InstanceOfKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method foo(p0: java.lang.Object): kotlin.Pair
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
public final class InstanceOfArraysKt {
|
||||
private final static method bar(p0: java.lang.Object): kotlin.Pair
|
||||
private final static method barNullable(p0: java.lang.Object): kotlin.Pair
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method foo(p0: java.lang.Object): kotlin.Pair
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public final class JClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method jClass(): java.lang.Class
|
||||
private final static method jClassArray(): java.lang.Class
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class JaggedArrayKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method jaggedArray(p0: kotlin.jvm.functions.Function2): java.lang.Object[][]
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class JaggedArrayOfNullsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method jaggedArrayOfNulls(): java.lang.Object[][]
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class JaggedDeepKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method jaggedArray(p0: kotlin.jvm.functions.Function3): java.lang.Object[][][]
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public final class KotlinKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method foo(p0: java.lang.Object): java.lang.Object
|
||||
private final static method fooN(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class CheckcastKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method checkcast(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class CopyToArrayKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method copy(p0: java.util.Collection): java.lang.Object[]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public final class DefaultJavaClassKt {
|
||||
private final static method bar(p0: java.lang.Object): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
synthetic static method foo$default(p0: java.lang.Class, p1: int, p2: java.lang.Object): java.lang.String
|
||||
private final static method foo(p0: java.lang.Class): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class FilterIsInstanceKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method filterIsInstance(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): java.util.List
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
public abstract class A {
|
||||
public method <init>(): void
|
||||
public abstract @org.jetbrains.annotations.NotNull method f(): java.lang.String
|
||||
public @org.jetbrains.annotations.NotNull method toString(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public abstract class G {
|
||||
public method <init>(): void
|
||||
public abstract @org.jetbrains.annotations.NotNull method bar(): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public final class InnerAnonymousObjectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method foo(): G
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class InstanceofKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method isinstance(p0: java.lang.Object): boolean
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public final class KotlinKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method foo(p0: java.lang.Object): boolean
|
||||
private final static method fooN(p0: java.lang.Object): boolean
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class JavaClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method javaClassName(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class NestedReifiedKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method foo(): java.lang.String[]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public class A {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class NestedReifiedSignatureKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method foo(): A[]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class NewArrayIntKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method createArray(p0: int, p1: kotlin.jvm.functions.Function0): java.lang.Object[]
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
public final class NonInlineableLambdaInReifiedFunctionKt {
|
||||
private final static method bar1(p0: java.lang.Object): java.lang.String
|
||||
private final static method bar2(p0: java.lang.Object, p1: java.lang.String): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.String
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
public abstract class A {
|
||||
public method <init>(): void
|
||||
public abstract @org.jetbrains.annotations.NotNull method f(): java.lang.String
|
||||
public @org.jetbrains.annotations.NotNull method toString(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public abstract class G {
|
||||
public method <init>(): void
|
||||
public abstract @org.jetbrains.annotations.NotNull method bar(): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public final class RecursiveInnerAnonymousObjectKt {
|
||||
private final static method baz(): G
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method foo(): kotlin.Pair
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public final class RecursiveNewArrayKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method createArray(p0: int, p1: kotlin.jvm.functions.Function0): java.lang.Object[]
|
||||
private final static method recursive(p0: kotlin.jvm.functions.Function0): java.lang.Object[]
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
public final class RecursiveNonInlineableLambdaKt {
|
||||
private final static method bar1(): java.lang.String
|
||||
private final static method bar2(p0: java.lang.String): java.lang.String
|
||||
private final static method bar3(p0: java.lang.String): kotlin.Pair
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.String
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public interface A {
|
||||
public abstract @org.jetbrains.annotations.NotNull method f(): java.lang.String
|
||||
public abstract @org.jetbrains.annotations.NotNull method g(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class ReifiedInlineFunOfObjectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.String
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
public interface A {
|
||||
public abstract @org.jetbrains.annotations.NotNull method f(): java.lang.String
|
||||
public abstract @org.jetbrains.annotations.NotNull method g(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class ReifiedInlineFunOfObjectWithinReifiedKt {
|
||||
private final static method AFactory(): A
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method className(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.String
|
||||
private final static method lambdaShouldBeReified(): java.lang.String
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public interface A {
|
||||
public abstract @org.jetbrains.annotations.NotNull method f(): java.lang.String
|
||||
public abstract @org.jetbrains.annotations.NotNull method g(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class ReifiedInlineIntoNonInlineableLambdaKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method className(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class SafecastKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method safecast(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public final class SameIndexRecursiveKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method createArray(p0: int, p1: kotlin.jvm.functions.Function0): kotlin.Pair
|
||||
private final static method recursive(p0: kotlin.jvm.functions.Function0): kotlin.Pair
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public final class SpreadsKt {
|
||||
private final static method bar(p0: java.lang.Object[], p1: kotlin.jvm.functions.Function0): java.lang.Object[]
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method empty(): java.lang.Object[]
|
||||
public final static method foo(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): int
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public final class VarargsKt {
|
||||
private final static method bar(p0: kotlin.jvm.functions.Function0): java.lang.Object[]
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
private final static method empty(): java.lang.Object[]
|
||||
public final static method foo(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): int
|
||||
}
|
||||
Reference in New Issue
Block a user