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,30 @@
|
||||
public final class AnnotatedEnumEntryKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public enum class E {
|
||||
public final static @First field E1: E
|
||||
public final static @Second field E2: E
|
||||
inner class E/E1
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): E
|
||||
public static method values(): E[]
|
||||
}
|
||||
|
||||
@First
|
||||
final static class E/E1 {
|
||||
inner class E/E1
|
||||
method <init>(p0: java.lang.String, p1: int): void
|
||||
public final @org.jetbrains.annotations.NotNull method foo(): java.lang.String
|
||||
}
|
||||
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class First
|
||||
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Second {
|
||||
public abstract method value(): java.lang.String
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Ann {
|
||||
public abstract method x(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class FunExpressionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo0(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.Class
|
||||
public final static @org.jetbrains.annotations.NotNull method foo1(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): java.lang.Class
|
||||
public final static method testClass(@org.jetbrains.annotations.NotNull p0: java.lang.Class, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
public final static method testMethod(@org.jetbrains.annotations.NotNull p0: java.lang.reflect.Method, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
@kotlin.annotation.Target
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
public annotation class Ann {
|
||||
public abstract method x(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class LambdaKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo0(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): java.lang.Class
|
||||
public final static method testClass(@org.jetbrains.annotations.NotNull p0: java.lang.Class, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
public final static method testMethod(@org.jetbrains.annotations.NotNull p0: java.lang.reflect.Method, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Ann {
|
||||
public abstract method x(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class TestKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method testClass(@org.jetbrains.annotations.NotNull p0: java.lang.Class, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
public final static method testMethod(@org.jetbrains.annotations.NotNull p0: java.lang.reflect.Method, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
@kotlin.annotation.Target
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
public annotation class Ann {
|
||||
public abstract method x(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class TestKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method testClass(@org.jetbrains.annotations.NotNull p0: java.lang.Class, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
public final static method testMethod(@org.jetbrains.annotations.NotNull p0: java.lang.reflect.Method, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Ann {
|
||||
public abstract method v(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class AnnotatedObjectLiteralKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@Ann
|
||||
public class My {
|
||||
public method <init>(): void
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
public final class KotlinClass {
|
||||
public final static field Companion: KotlinClass.Companion
|
||||
public final static field FOO_INT: int
|
||||
public final static @kotlin.jvm.JvmField @org.jetbrains.annotations.NotNull field FOO_STRING: java.lang.String
|
||||
inner class KotlinClass/Companion
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class KotlinClass/Companion {
|
||||
inner class KotlinClass/Companion
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class KotlinClassKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
public interface KotlinInterface {
|
||||
public final static field Companion: KotlinInterface.Companion
|
||||
public final static field FOO_INT: int
|
||||
public final static @org.jetbrains.annotations.NotNull field FOO_STRING: java.lang.String
|
||||
inner class KotlinInterface/Companion
|
||||
}
|
||||
|
||||
|
||||
public final static class KotlinInterface/Companion {
|
||||
public final static field FOO_INT: int
|
||||
public final static @org.jetbrains.annotations.NotNull field FOO_STRING: java.lang.String
|
||||
inner class KotlinInterface/Companion
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class KotlinInterfaceKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
public final class A {
|
||||
public @Ann method <init>(p0: int, p1: int, p2: int): void
|
||||
public synthetic method <init>(p0: int, p1: int, p2: int, p3: int, p4: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
public synthetic static method foo$default(p0: A, p1: int, p2: int, p3: int, p4: int, p5: java.lang.Object): void
|
||||
public final @Ann method foo(p0: int, p1: int, p2: int): void
|
||||
}
|
||||
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Ann {
|
||||
public abstract method x(): int
|
||||
}
|
||||
|
||||
|
||||
public final class AnnotationsOnDefaultKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method test(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: java.lang.annotation.Annotation[]): void
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public @Ann method <init>(p0: int, p1: int, p2: int): void
|
||||
public synthetic method <init>(p0: int, p1: int, p2: int, p3: int, p4: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Ann {
|
||||
public abstract method a(): Ann2
|
||||
public abstract method c(): java.lang.Class
|
||||
public abstract method e(): MyEnum
|
||||
public abstract method i(): int
|
||||
public abstract method ia(): int[]
|
||||
public abstract method s(): java.lang.String
|
||||
public abstract method sa(): java.lang.String[]
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Ann2
|
||||
|
||||
|
||||
public final class DefaultParameterValuesKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public enum class MyEnum {
|
||||
public final static field A: MyEnum
|
||||
protected method <init>(p0: java.lang.String, p1: int): void
|
||||
public static method valueOf(p0: java.lang.String): MyEnum
|
||||
public static method values(): MyEnum[]
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
public final class Delegate {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
|
||||
public final method setValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class DelegatedPropertySetterKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class First
|
||||
|
||||
|
||||
public final class MyClass {
|
||||
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
|
||||
private final @org.jetbrains.annotations.NotNull field x$delegate: Delegate
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getX(): java.lang.String
|
||||
public final @First method setX(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
@StringHolder
|
||||
@kotlin.jvm.JvmName
|
||||
public final class FileClass {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
public annotation class StringHolder {
|
||||
public abstract method value(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
public final class C {
|
||||
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
|
||||
private final @kotlin.jvm.Transient @org.jetbrains.annotations.NotNull field del$delegate: CustomDelegate
|
||||
private final @kotlin.jvm.Transient field tra: int
|
||||
private @kotlin.jvm.Volatile field vol: int
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getDel(): java.lang.String
|
||||
public final method getTra(): int
|
||||
public final method getVol(): int
|
||||
public final method setVol(p0: int): void
|
||||
public final @kotlin.jvm.Strictfp method str(): void
|
||||
public final @kotlin.jvm.Synchronized method sync(): void
|
||||
}
|
||||
|
||||
|
||||
public final class CustomDelegate {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class JvmAnnotationFlagsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Vendored
+45
@@ -0,0 +1,45 @@
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Ann {
|
||||
public abstract method b(): byte
|
||||
public abstract method bool(): boolean
|
||||
public abstract method c(): char
|
||||
public abstract method d(): double
|
||||
public abstract method f(): float
|
||||
public abstract method i(): int
|
||||
public abstract method l(): long
|
||||
public abstract method s(): short
|
||||
public abstract method str(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Foo {
|
||||
public final static field Companion: Foo.Companion
|
||||
public final static field b: byte
|
||||
public final static field bool: boolean
|
||||
public final static field c: char
|
||||
public final static field d: double
|
||||
public final static field f: float
|
||||
public final static field i: int
|
||||
public final static field l: long
|
||||
public final static field s: short
|
||||
public final static @org.jetbrains.annotations.NotNull field str: java.lang.String
|
||||
inner class Foo/Companion
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class Foo/Companion {
|
||||
inner class Foo/Companion
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class KotlinPropertyFromClassObjectAsParameterKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass {
|
||||
public method <init>(): void
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Ann {
|
||||
public abstract method b(): byte
|
||||
public abstract method bool(): boolean
|
||||
public abstract method c(): char
|
||||
public abstract method d(): double
|
||||
public abstract method f(): float
|
||||
public abstract method i(): int
|
||||
public abstract method l(): long
|
||||
public abstract method s(): short
|
||||
public abstract method str(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class KotlinTopLevelPropertyAsParameterKt {
|
||||
public final static field b: byte
|
||||
public final static field bool: boolean
|
||||
public final static field c: char
|
||||
public final static field d: double
|
||||
public final static field f: float
|
||||
public final static field i: int
|
||||
public final static field l: long
|
||||
public final static field s: short
|
||||
public final static @org.jetbrains.annotations.NotNull field str: java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass {
|
||||
public method <init>(): void
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class A
|
||||
|
||||
@kotlin.annotation.Target
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
@java.lang.annotation.Target
|
||||
public annotation class B {
|
||||
public abstract method items(): A[]
|
||||
}
|
||||
|
||||
@B
|
||||
public final class C {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt10136Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
public final class A {
|
||||
inner class A/B
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class A/B {
|
||||
public final static field Companion: A.B.Companion
|
||||
public final static field i: int
|
||||
inner class A/B
|
||||
inner class A/B/Companion
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final static class A/B/Companion {
|
||||
inner class A/B
|
||||
inner class A/B/Companion
|
||||
private method <init>(): void
|
||||
}
|
||||
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Ann {
|
||||
public abstract method i(): int
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class NestedClassPropertyAsParameterKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Ann {
|
||||
public abstract method b(): byte
|
||||
public abstract method bool(): boolean
|
||||
public abstract method c(): char
|
||||
public abstract method d(): double
|
||||
public abstract method f(): float
|
||||
public abstract method i(): int
|
||||
public abstract method l(): long
|
||||
public abstract method s(): short
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class ParameterWithPrimitiveTypeKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Ann {
|
||||
public abstract method i(): int
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class PropertyWithPropertyInInitializerAsParameterKt {
|
||||
public final static field i2: int
|
||||
public final static field i: int
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
public final class ResolveWithLowPriorityAnnotationKt {
|
||||
public final static method bar(@org.jetbrains.annotations.NotNull p0: java.lang.Object): int
|
||||
public final static @kotlin.Suppress @kotlin.internal.LowPriorityInOverloadResolution method bar(@org.jetbrains.annotations.Nullable p0: java.lang.String): int
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(@org.jetbrains.annotations.NotNull p0: java.lang.Object): int
|
||||
public final static @kotlin.Suppress @kotlin.internal.LowPriorityInOverloadResolution method foo(p0: int): int
|
||||
}
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
@kotlin.annotation.Retention
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class Ann {
|
||||
public abstract method p(): int[]
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass1 {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass10 {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass2 {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass3 {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass4 {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass5 {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass6 {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass7 {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass8 {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
@Ann
|
||||
public final class MyClass9 {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class VarargInAnnotationParameterKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method test(@org.jetbrains.annotations.NotNull p0: java.lang.Class, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
}
|
||||
Reference in New Issue
Block a user