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,6 @@
|
||||
public final class CoerceVoidToArrayKt {
|
||||
public final static @org.jetbrains.annotations.Nullable method a(): int[]
|
||||
public final static @org.jetbrains.annotations.NotNull method b(): java.lang.Void
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(): int[]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public final class CoerceVoidToObjectKt {
|
||||
public final static @org.jetbrains.annotations.Nullable method a(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method b(): java.lang.Void
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class DataLocalVariableKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method ok(p0: boolean): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
public abstract class B {
|
||||
public method <init>(): void
|
||||
public synthetic static method foo$default(p0: B, p1: int, p2: int, p3: java.lang.Object): int
|
||||
public final method foo(p0: int): int
|
||||
}
|
||||
|
||||
|
||||
public final class C {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class DefaultargsKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public final class Defaultargs1Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public synthetic static method toPrefixedString$default(p0: java.lang.Object, p1: java.lang.String, p2: java.lang.String, p3: int, p4: java.lang.Object): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method toPrefixedString(p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.NotNull p2: java.lang.String): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
public final class Defaultargs2Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public synthetic static method reformat$default(p0: java.lang.String, p1: boolean, p2: boolean, p3: boolean, p4: java.lang.String, p5: int, p6: java.lang.Object): T4
|
||||
public final static @org.jetbrains.annotations.NotNull method reformat(@org.jetbrains.annotations.NotNull p0: java.lang.String, p1: boolean, p2: boolean, p3: boolean, @org.jetbrains.annotations.NotNull p4: java.lang.String): T4
|
||||
}
|
||||
|
||||
|
||||
public final class T4 {
|
||||
private final field c1: boolean
|
||||
private final field c2: boolean
|
||||
private final field c3: boolean
|
||||
private final @org.jetbrains.annotations.NotNull field c4: java.lang.String
|
||||
public method <init>(p0: boolean, p1: boolean, p2: boolean, @org.jetbrains.annotations.NotNull p3: java.lang.String): void
|
||||
public method equals(@org.jetbrains.annotations.Nullable p0: java.lang.Object): boolean
|
||||
public final method getC1(): boolean
|
||||
public final method getC2(): boolean
|
||||
public final method getC3(): boolean
|
||||
public final @org.jetbrains.annotations.NotNull method getC4(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public final class C {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method testReceiver(): java.lang.String
|
||||
public synthetic static method toMyPrefixedString$default(p0: C, p1: java.lang.Object, p2: java.lang.String, p3: java.lang.String, p4: int, p5: java.lang.Object): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method toMyPrefixedString(@org.jetbrains.annotations.NotNull p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.NotNull p2: java.lang.String): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Defaultargs3Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
public interface A {
|
||||
inner class A/DefaultImpls
|
||||
public abstract method bar(p0: int): int
|
||||
public abstract method bar2(p0: int): int
|
||||
}
|
||||
|
||||
|
||||
public final class A/DefaultImpls {
|
||||
inner class A/DefaultImpls
|
||||
public synthetic static method bar$default(p0: A, p1: int, p2: int, p3: java.lang.Object): int
|
||||
public static method bar(p0: A, p1: int): int
|
||||
public synthetic static method bar2$default(p0: A, p1: int, p2: int, p3: java.lang.Object): int
|
||||
}
|
||||
|
||||
|
||||
public abstract class B {
|
||||
public method <init>(): void
|
||||
public method bar(p0: int): int
|
||||
public method bar2(p0: int): int
|
||||
}
|
||||
|
||||
|
||||
public final class C {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Defaultargs4Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
public abstract class B {
|
||||
public method <init>(): void
|
||||
public synthetic static method foo2$default(p0: B, p1: int, p2: int, p3: java.lang.Object): int
|
||||
public abstract method foo2(p0: int): int
|
||||
}
|
||||
|
||||
|
||||
public final class C {
|
||||
public method <init>(): void
|
||||
public method foo2(p0: int): int
|
||||
}
|
||||
|
||||
|
||||
public final class Defaultargs5Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
public interface A {
|
||||
inner class A/DefaultImpls
|
||||
public abstract method foo(p0: int, p1: int, p2: int): int
|
||||
}
|
||||
|
||||
|
||||
public final class A/DefaultImpls {
|
||||
inner class A/DefaultImpls
|
||||
public synthetic static method foo$default(p0: A, p1: int, p2: int, p3: int, p4: int, p5: java.lang.Object): int
|
||||
public static method foo(p0: A, p1: int, p2: int, p3: int): int
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
public method foo(p0: int, p1: int, p2: int): int
|
||||
}
|
||||
|
||||
|
||||
public final class Defaultargs6Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
public final class A {
|
||||
private final field expected: int
|
||||
public method <init>(p0: int): void
|
||||
public synthetic static method foo$default(p0: A, p1: int, p2: int, p3: int, p4: int, p5: java.lang.Object): boolean
|
||||
public final method foo(p0: int, p1: int, p2: int): boolean
|
||||
public final method getExpected(): int
|
||||
}
|
||||
|
||||
|
||||
public final class Defaultargs7Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class Ea33909Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method justPrint(p0: int): java.lang.String
|
||||
}
|
||||
Vendored
+32
@@ -0,0 +1,32 @@
|
||||
public final class A {
|
||||
private final @org.jetbrains.annotations.NotNull field descriptor: ClassDescriptor
|
||||
private final @org.jetbrains.annotations.NotNull field result: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: ClassDescriptor): void
|
||||
public final @org.jetbrains.annotations.NotNull method getDescriptor(): ClassDescriptor
|
||||
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public interface ClassDescriptor
|
||||
|
||||
|
||||
public final class ClassDescriptorImpl {
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.NotNull method getName(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public interface ClassifierDescriptor
|
||||
|
||||
|
||||
public final class FakeDescriptorWithSeveralOverridenOneKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public interface MemberDescriptor
|
||||
|
||||
|
||||
public interface Named {
|
||||
public abstract @org.jetbrains.annotations.NotNull method getName(): java.lang.String
|
||||
}
|
||||
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
@java.lang.annotation.Retention
|
||||
public annotation class A
|
||||
|
||||
|
||||
public final class FunctionExpressionKt {
|
||||
private final static @org.jetbrains.annotations.NotNull field foo1: kotlin.jvm.functions.Function1
|
||||
private final static @org.jetbrains.annotations.NotNull field foo2: kotlin.jvm.functions.Function2
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method fooT1(): kotlin.jvm.functions.Function1
|
||||
public final static @org.jetbrains.annotations.NotNull method getFoo1(): kotlin.jvm.functions.Function1
|
||||
public final static @org.jetbrains.annotations.NotNull method getFoo2(): kotlin.jvm.functions.Function2
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
public final class FunctionExpressionWithThisReferenceKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method genericThisRef1(p0: java.lang.Object): kotlin.jvm.functions.Function0
|
||||
public final static @org.jetbrains.annotations.NotNull method genericThisRef2(p0: java.lang.Object): kotlin.jvm.functions.Function0
|
||||
public final static @org.jetbrains.annotations.NotNull method getValGenericThisRef1(p0: java.lang.Object): kotlin.jvm.functions.Function0
|
||||
public final static @org.jetbrains.annotations.NotNull method getValGenericThisRef2(p0: java.lang.Object): kotlin.jvm.functions.Function0
|
||||
public final static @org.jetbrains.annotations.NotNull method getValThisRef1(p0: int): kotlin.jvm.functions.Function0
|
||||
public final static @org.jetbrains.annotations.NotNull method getValThisRef2(p0: int): kotlin.jvm.functions.Function0
|
||||
public final static @org.jetbrains.annotations.NotNull method getWithLabel1(p0: java.lang.Object): kotlin.jvm.functions.Function0
|
||||
public final static @org.jetbrains.annotations.NotNull method getWithLabel2(p0: java.lang.Object): kotlin.jvm.functions.Function0
|
||||
public final static @org.jetbrains.annotations.NotNull method thisRef1(p0: int): kotlin.jvm.functions.Function0
|
||||
public final static @org.jetbrains.annotations.NotNull method thisRef2(p0: int): kotlin.jvm.functions.Function0
|
||||
}
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
public final class FunctionLiteralExpressionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo1(@org.jetbrains.annotations.NotNull p0: java.lang.Object): kotlin.jvm.functions.Function0
|
||||
public final static @org.jetbrains.annotations.NotNull method foo2(p0: int): kotlin.jvm.functions.Function1
|
||||
public final static @org.jetbrains.annotations.NotNull method fooT1(p0: java.lang.Object): kotlin.jvm.functions.Function0
|
||||
public final static @org.jetbrains.annotations.NotNull method fooT2(p0: java.lang.Object): kotlin.jvm.functions.Function1
|
||||
}
|
||||
|
||||
|
||||
public final class t {
|
||||
public final static field INSTANCE: t
|
||||
private method <init>(): void
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class FunctionNtoStringKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method check(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.Nullable p1: java.lang.Object): void
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
public final class Bar {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Baz {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method baz(p0: java.lang.Object): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public class Foo {
|
||||
private final @org.jetbrains.annotations.NotNull field lambda: kotlin.jvm.functions.Function1
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): void
|
||||
public final @org.jetbrains.annotations.NotNull method getLambda(): kotlin.jvm.functions.Function1
|
||||
}
|
||||
|
||||
|
||||
public final class FunctionNtoStringGenericKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method bar(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class FunctionNtoStringNoReflectKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method check(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.Nullable p1: java.lang.Object): void
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class InfixRecursiveCallKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method test(p0: int, p1: int): int
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class CastFunctionToExtensionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method invoke(@org.jetbrains.annotations.NotNull p0: A): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method invoke(@org.jetbrains.annotations.NotNull p0: A, p1: int): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class ExtensionInvokeOnExprKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(): A
|
||||
public final static @org.jetbrains.annotations.NotNull method test(@org.jetbrains.annotations.NotNull p0: B): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
public final class invoke/InvokeKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method invoke(@org.jetbrains.annotations.NotNull p0: invoke.Method2, @org.jetbrains.annotations.NotNull p1: java.lang.String): java.lang.String
|
||||
public final static method test1(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1, p1: int): int
|
||||
public final static method test2(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1, p1: int): int
|
||||
public final static method test3(@org.jetbrains.annotations.NotNull p0: invoke.Method, p1: int): int
|
||||
public final static method test4(@org.jetbrains.annotations.NotNull p0: invoke.Method, p1: int): int
|
||||
public final static @org.jetbrains.annotations.NotNull method test5(@org.jetbrains.annotations.NotNull p0: invoke.Method2, @org.jetbrains.annotations.NotNull p1: java.lang.String): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class invoke/Method {
|
||||
public method <init>(): void
|
||||
public final method invoke(p0: int): int
|
||||
}
|
||||
|
||||
|
||||
public final class invoke/Method2 {
|
||||
public method <init>(): void
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method invoke(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method invoke(p0: int): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class InvokeOnExprByConventionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(): A
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class MainKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method invoke(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
public final class Bad {
|
||||
private final @org.jetbrains.annotations.NotNull field a: kotlin.jvm.functions.Function0
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
|
||||
public final @org.jetbrains.annotations.NotNull method getA(): kotlin.jvm.functions.Function0
|
||||
public final method invoke(): int
|
||||
public final method test(): int
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3189Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
public final class Cached {
|
||||
private final field generate: kotlin.jvm.functions.Function1
|
||||
private final @org.jetbrains.annotations.NotNull field store: java.util.HashMap
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): void
|
||||
public final @org.jetbrains.annotations.NotNull method getStore(): java.util.HashMap
|
||||
public method invoke(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3190Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method getOrPut(@org.jetbrains.annotations.NotNull p0: java.util.Map, p1: java.lang.Object, @org.jetbrains.annotations.NotNull p2: kotlin.jvm.functions.Function0): java.lang.Object
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class Kt3297Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method or(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function0): java.lang.Object
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
public final class A {
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method get(p0: int): A
|
||||
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
|
||||
public final @org.jetbrains.annotations.NotNull method invoke(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3450getAndInvokeKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method x(@org.jetbrains.annotations.NotNull p0: java.lang.String): A
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class Kt3631invokeOnStringKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method invoke(@org.jetbrains.annotations.NotNull p0: java.lang.String, p1: int): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
public class A {
|
||||
public method <init>(): void
|
||||
public final method invoke(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): int
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
public final method invoke(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): int
|
||||
}
|
||||
|
||||
|
||||
public class C {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public class D {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3772Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getAttr(@org.jetbrains.annotations.NotNull p0: C): A
|
||||
public final static @org.jetbrains.annotations.NotNull method getAttr(@org.jetbrains.annotations.NotNull p0: D): B
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final method foo(): int
|
||||
public final method invoke(): int
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3821invokeOnThisKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
public final method foo(): boolean
|
||||
public @org.jetbrains.annotations.NotNull method invoke(): java.lang.Boolean
|
||||
public synthetic method invoke(): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3822invokeOnThisKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
public final class Kt1038Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method lazy(@org.jetbrains.annotations.NotNull p0: java.lang.Iterable): java.lang.Iterable
|
||||
public final static @org.jetbrains.annotations.NotNull method select(@org.jetbrains.annotations.NotNull p0: java.lang.Iterable, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.Iterable
|
||||
public final static @org.jetbrains.annotations.NotNull method where(@org.jetbrains.annotations.NotNull p0: java.lang.Iterable, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.Iterable
|
||||
}
|
||||
|
||||
|
||||
public final class YieldingIterable {
|
||||
private final @org.jetbrains.annotations.NotNull field yielderFactory: kotlin.jvm.functions.Function0
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
|
||||
public final @org.jetbrains.annotations.NotNull method getYielderFactory(): kotlin.jvm.functions.Function0
|
||||
public @org.jetbrains.annotations.NotNull method iterator(): java.util.Iterator
|
||||
}
|
||||
|
||||
|
||||
public final class YieldingIterator {
|
||||
private @org.jetbrains.annotations.Nullable field current: java.lang.Object
|
||||
private final @org.jetbrains.annotations.NotNull field yieldingFunction: kotlin.jvm.functions.Function0
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
|
||||
public final @org.jetbrains.annotations.Nullable method getCurrent(): java.lang.Object
|
||||
public final @org.jetbrains.annotations.NotNull method getYieldingFunction(): kotlin.jvm.functions.Function0
|
||||
public method hasNext(): boolean
|
||||
public method next(): java.lang.Object
|
||||
public method remove(): void
|
||||
public final method setCurrent(@org.jetbrains.annotations.Nullable p0: java.lang.Object): void
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public final class Kt1199Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method iterator(@org.jetbrains.annotations.Nullable p0: java.lang.Object): MyIterator
|
||||
}
|
||||
|
||||
|
||||
public interface MyIterator {
|
||||
public abstract method hasNext(): boolean
|
||||
public abstract method next(): java.lang.Object
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
public interface t/I {
|
||||
public abstract method f(): void
|
||||
}
|
||||
|
||||
|
||||
public final class t/Kt1413Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class t/Test {
|
||||
public method <init>(): void
|
||||
public final method bar(): void
|
||||
public final method foo(): void
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
public interface A {
|
||||
public abstract @org.jetbrains.annotations.Nullable method getMethod(): kotlin.jvm.functions.Function0
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
private final @org.jetbrains.annotations.NotNull field method: kotlin.jvm.functions.Function0
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.NotNull method getMethod(): kotlin.jvm.functions.Function0
|
||||
}
|
||||
|
||||
|
||||
public final class Kt1649_1Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method test(@org.jetbrains.annotations.NotNull p0: A): void
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
public interface A {
|
||||
public abstract @org.jetbrains.annotations.NotNull method getMethod(): kotlin.jvm.functions.Function0
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
private final @org.jetbrains.annotations.NotNull field method: kotlin.jvm.functions.Function0
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.NotNull method getMethod(): kotlin.jvm.functions.Function0
|
||||
}
|
||||
|
||||
|
||||
public final class Kt1649_2Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method test(@org.jetbrains.annotations.NotNull p0: A): void
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public final class Kt1739Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class RunnableFunctionWrapper {
|
||||
private final @org.jetbrains.annotations.NotNull field f: kotlin.jvm.functions.Function0
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
|
||||
public final @org.jetbrains.annotations.NotNull method getF(): kotlin.jvm.functions.Function0
|
||||
public method run(): void
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
public final class A {
|
||||
private final field i: int
|
||||
private final field j: int
|
||||
public method <init>(p0: int, p1: int): void
|
||||
public synthetic method <init>(p0: int, p1: int, p2: int, p3: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
public final method getI(): int
|
||||
public final method getJ(): int
|
||||
}
|
||||
|
||||
|
||||
public final class Kt2270Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public final class Kt2271Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public synthetic static method foo$default(p0: int, p1: int, p2: int, p3: java.lang.Object): int
|
||||
public final static method foo(p0: int, p1: int): int
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class Kt2280Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
public class A {
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.NotNull method method(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
public @org.jetbrains.annotations.NotNull method method(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Kt2481Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
public final class someTest/Kt2716Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class someTest/Some {
|
||||
public final static field Companion: someTest.Some.Companion
|
||||
private final @org.jetbrains.annotations.NotNull field v: java.lang.String
|
||||
inner class someTest/Some/Companion
|
||||
private method <init>(p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getV(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final static class someTest/Some/Companion {
|
||||
inner class someTest/Some/Companion
|
||||
private method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method init(@org.jetbrains.annotations.NotNull p0: java.lang.String): someTest.Some
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public final class Kt2739Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.Nullable method foo(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
public final class Pair {
|
||||
public method <init>(p0: java.lang.Object): void
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class Kt2929Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(): int
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
public final method get(@org.jetbrains.annotations.NotNull p0: int[]): int
|
||||
}
|
||||
|
||||
|
||||
public final class B {
|
||||
public method <init>(): void
|
||||
public final method get(@org.jetbrains.annotations.NotNull p0: kotlin.Unit[]): int
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3214Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method test1(@org.jetbrains.annotations.NotNull p0: A): int
|
||||
public final static method test2(@org.jetbrains.annotations.NotNull p0: A): int
|
||||
public final static method test3(@org.jetbrains.annotations.NotNull p0: B): int
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class Kt3313Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(p0: java.lang.Object): void
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
public final class Data {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3573Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method newInit(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): Data
|
||||
}
|
||||
|
||||
|
||||
public final class TestClass {
|
||||
private final @org.jetbrains.annotations.NotNull field test: Data
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getTest(): Data
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
public final class A {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class Comment {
|
||||
private @org.jetbrains.annotations.NotNull field article: java.lang.String
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getArticle(): java.lang.String
|
||||
public final method setArticle(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt3724Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method new(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): Comment
|
||||
}
|
||||
|
||||
|
||||
public class Request {
|
||||
private final @org.jetbrains.annotations.NotNull field handler: kotlin.jvm.functions.Function1
|
||||
private final @org.jetbrains.annotations.NotNull field s: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): void
|
||||
public final @org.jetbrains.annotations.NotNull method getHandler(): kotlin.jvm.functions.Function1
|
||||
public final @org.jetbrains.annotations.NotNull method getS(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public final class Kt395Kt {
|
||||
private final static @org.jetbrains.annotations.NotNull field f: kotlin.jvm.functions.Function1
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method getF(): kotlin.jvm.functions.Function1
|
||||
public final static @org.jetbrains.annotations.NotNull method with(@org.jetbrains.annotations.NotNull p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
public final class A {
|
||||
private field x: int
|
||||
private @org.jetbrains.annotations.NotNull field z: kotlin.jvm.functions.Function0
|
||||
public method <init>(): void
|
||||
public final method getX(): int
|
||||
public final @org.jetbrains.annotations.NotNull method getZ(): kotlin.jvm.functions.Function0
|
||||
public final method setX(p0: int): void
|
||||
public final method setZ(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
|
||||
}
|
||||
|
||||
|
||||
public final class Kt785Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class Kt873Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class LocalFunctionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method forEach(@org.jetbrains.annotations.NotNull p0: kotlin.ranges.IntRange, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): void
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
public final class CallInlineLocalInLambdaKt {
|
||||
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: java.lang.String, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.String
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class DefinedWithinLambdaKt {
|
||||
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: java.lang.String, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.String
|
||||
}
|
||||
compiler/testData/codegen/light-analysis/functions/localFunctions/definedWithinLambdaInnerUsage1.txt
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
public final class DefinedWithinLambdaInnerUsage1Kt {
|
||||
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: java.lang.String, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.String
|
||||
}
|
||||
compiler/testData/codegen/light-analysis/functions/localFunctions/definedWithinLambdaInnerUsage2.txt
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
public final class DefinedWithinLambdaInnerUsage2Kt {
|
||||
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: java.lang.String, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method noInlineFoo(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function1): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class Kt2895Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method outer(): void
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class Kt3308Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class Kt3978Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class Kt4119Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1): int
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
public final class Kt4119_2Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public final class Kt4514Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
public final class Kt4777Kt {
|
||||
private final static @org.jetbrains.annotations.NotNull field p: java.lang.Runnable
|
||||
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 getP(): java.lang.Runnable
|
||||
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,11 @@
|
||||
public final class Kt4783Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method local(): int
|
||||
}
|
||||
|
||||
|
||||
public final class T {
|
||||
private final field value: int
|
||||
public method <init>(p0: int): void
|
||||
public final method getValue(): int
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
public final class Kt4784Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method plusAssign(): T
|
||||
}
|
||||
|
||||
|
||||
public class T {
|
||||
private field value: int
|
||||
public method <init>(p0: int): void
|
||||
public final method getValue(): int
|
||||
public final method setValue(p0: int): void
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public final class It {
|
||||
private final @org.jetbrains.annotations.NotNull field id: java.lang.String
|
||||
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final @org.jetbrains.annotations.NotNull method getId(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Kt4989Kt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
public final class LocalExtensionOnNullableParameterKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method localExtensionOnNullableParameter(): T
|
||||
}
|
||||
|
||||
|
||||
public class T {
|
||||
private field value: int
|
||||
public method <init>(p0: int): void
|
||||
public final method getValue(): int
|
||||
public final method setValue(p0: int): void
|
||||
}
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
public final class LocalFunctionInConstructorKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
|
||||
|
||||
public final class Test {
|
||||
private final field property: int
|
||||
public method <init>(): void
|
||||
public final method getProperty(): int
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public final class LocalReturnInsideFunctionExpressionKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method simple(): kotlin.jvm.functions.Function0
|
||||
public final static @org.jetbrains.annotations.NotNull method withLabel(): kotlin.jvm.functions.Function0
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public final class NothisnoclosureKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method foo(p0: int): void
|
||||
public final static method loop(p0: int): void
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class PrefixRecursiveCallKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method unaryPlus(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public final class C {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
|
||||
public final class RecursiveCompareToKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static method compareTo(@org.jetbrains.annotations.NotNull p0: C, @org.jetbrains.annotations.NotNull p1: C): int
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class RecursiveIncrementCallKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method inc(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user