[FIR IDE] Add Fir lightclasses tests and fix FindUsages tests
This commit is contained in:
committed by
Ilya Kirillov
parent
3cefef03ff
commit
dbb54c87bc
@@ -6,4 +6,6 @@ class A {
|
||||
fun f() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -8,3 +8,5 @@ class `A$B` {
|
||||
inner class `G$G$`
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -6,3 +6,5 @@ class `A$B` {
|
||||
inner class `G$G$`
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -5,4 +5,5 @@ package a
|
||||
fun f() {
|
||||
|
||||
}
|
||||
// LAZINESS:NoLaziness
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
@@ -8,4 +8,5 @@ class A {
|
||||
}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
@@ -21,4 +21,6 @@ interface I1 {
|
||||
|
||||
interface I2 {
|
||||
fun bar() = "bar"
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -11,3 +11,5 @@ class InlineReified {
|
||||
inline get() = toString()
|
||||
inline set(value) {}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -10,4 +10,6 @@ class C {
|
||||
fun z(c: C, c2: C) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
+3
-1
@@ -12,4 +12,6 @@ class A {
|
||||
object G
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
+3
-1
@@ -15,4 +15,6 @@ class A(val y: Int) {
|
||||
}
|
||||
|
||||
fun component1() = y
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -5,4 +5,6 @@ class A {
|
||||
}
|
||||
|
||||
interface P
|
||||
interface RS
|
||||
interface RS
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -10,3 +10,5 @@ class C {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -1,4 +1,6 @@
|
||||
// p.B
|
||||
package p
|
||||
|
||||
actual class B
|
||||
actual class B
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -1,4 +1,5 @@
|
||||
// p.ActualTypeAliasKt
|
||||
// FIR_COMPARISON
|
||||
package p
|
||||
|
||||
actual typealias B = List<Int>
|
||||
@@ -10,3 +10,5 @@ public inline fun f(): Int = 3
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun g(p: String): String = "p"
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -1,4 +1,6 @@
|
||||
// p.B
|
||||
// FIR_COMPARISON
|
||||
|
||||
package p
|
||||
|
||||
expect class B
|
||||
@@ -1,4 +1,6 @@
|
||||
// p.B
|
||||
// FIR_COMPARISON
|
||||
|
||||
package p
|
||||
|
||||
expect object B
|
||||
+2
@@ -1,4 +1,6 @@
|
||||
// p.B.Nested
|
||||
// FIR_COMPARISON
|
||||
|
||||
package p
|
||||
|
||||
expect class B {
|
||||
|
||||
+2
@@ -1,4 +1,6 @@
|
||||
// p.B.Nested
|
||||
// FIR_COMPARISON
|
||||
|
||||
package p
|
||||
|
||||
expect object B {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// Validation
|
||||
// ALLOW_FRONTEND_EXCEPTION
|
||||
// See KT-24323
|
||||
// FIR_COMPARISON
|
||||
|
||||
@Retention(AnnotationRetention.RUNTIME /* ) was removed */
|
||||
annotation class Validation()
|
||||
|
||||
+3
-1
@@ -27,4 +27,6 @@ annotation class S(val g: String)
|
||||
|
||||
@Repeatable
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class R(val s: String)
|
||||
annotation class R(val s: String)
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -1,3 +1,5 @@
|
||||
// SingleFileKt
|
||||
|
||||
public fun foo() {}
|
||||
public fun foo() {}
|
||||
|
||||
// FIR_COMPARISON
|
||||
+3
-1
@@ -27,4 +27,6 @@ interface I1 {
|
||||
interface I2 {
|
||||
@Anno("S")
|
||||
fun bar() = "bar"
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
+3
-1
@@ -3,4 +3,6 @@
|
||||
class ClassWithConstructor(
|
||||
nullable: String?,
|
||||
notNull: String
|
||||
)
|
||||
)
|
||||
|
||||
// FIR_COMPARISON
|
||||
+2
-1
@@ -8,4 +8,5 @@ class C : Base {
|
||||
override fun foo(): Unit {}
|
||||
}
|
||||
|
||||
// LAZINESS:NoLaziness
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
@@ -8,4 +8,6 @@ class Synthetic {
|
||||
}
|
||||
|
||||
private fun foo() {}
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
+2
-1
@@ -7,4 +7,5 @@ interface Base<T> {
|
||||
class C : Base<Unit> {
|
||||
override fun foo(t: Unit) {}
|
||||
}
|
||||
// LAZINESS:NoLaziness
|
||||
// LAZINESS:NoLaziness
|
||||
// FIR_COMPARISON
|
||||
+3
-1
@@ -1,3 +1,5 @@
|
||||
// UnitParameterKt
|
||||
|
||||
fun foo(s: Unit) {}
|
||||
fun foo(s: Unit) {}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -1,3 +1,5 @@
|
||||
// VoidReturnKt
|
||||
|
||||
fun foo(g: String) {}
|
||||
fun foo(g: String) {}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -4,3 +4,5 @@
|
||||
class C {
|
||||
@[kotlin.jvm.JvmField] public val foo: String = { "A" }()
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// CHECK_BY_JAVA_FILE
|
||||
annotation class Anno
|
||||
|
||||
class TestClass(@setparam:Anno var hello: Int)
|
||||
@@ -0,0 +1,162 @@
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
@java.lang.annotation.Target(value = {java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER})
|
||||
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.VALUE_PARAMETER, kotlin.annotation.AnnotationTarget.EXPRESSION})
|
||||
public abstract @interface Anno2 /* Anno2*/ {
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
@java.lang.annotation.Target(value = {java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER})
|
||||
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.VALUE_PARAMETER, kotlin.annotation.AnnotationTarget.EXPRESSION})
|
||||
public abstract @interface Anno3 /* Anno3*/ {
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
@java.lang.annotation.Target(value = {java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER})
|
||||
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.VALUE_PARAMETER, kotlin.annotation.AnnotationTarget.EXPRESSION})
|
||||
public abstract @interface Anno4 /* Anno4*/ {
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
@java.lang.annotation.Target(value = {java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER})
|
||||
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.VALUE_PARAMETER, kotlin.annotation.AnnotationTarget.EXPRESSION})
|
||||
public abstract @interface Anno5 /* Anno5*/ {
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
@java.lang.annotation.Target(value = {java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER})
|
||||
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.VALUE_PARAMETER, kotlin.annotation.AnnotationTarget.EXPRESSION})
|
||||
public abstract @interface Anno6 /* Anno6*/ {
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface AnnoWithCompanion /* AnnoWithCompanion*/ {
|
||||
@kotlin.jvm.JvmField()
|
||||
public static final int x;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final AnnoWithCompanion.Companion Companion;
|
||||
|
||||
|
||||
class Companion ...
|
||||
|
||||
}
|
||||
|
||||
public static final class Companion /* AnnoWithCompanion.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
|
||||
public final void foo();// foo()
|
||||
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Anno /* Anno*/ {
|
||||
public abstract Anno[] x() default {@Anno(p = "a"), @Anno(p = "b")};// x()
|
||||
|
||||
public abstract java.lang.String p() default "";// p()
|
||||
|
||||
}
|
||||
|
||||
@Deprecated(message = "This anno is deprecated, use === instead", replaceWith = @ReplaceWith(expression = "this === other"))
|
||||
@java.lang.annotation.Documented()
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.SOURCE)
|
||||
@java.lang.annotation.Target(value = {java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER})
|
||||
@kotlin.annotation.MustBeDocumented()
|
||||
@kotlin.annotation.Retention(value = kotlin.annotation.AnnotationRetention.SOURCE)
|
||||
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.VALUE_PARAMETER, kotlin.annotation.AnnotationTarget.EXPRESSION})
|
||||
public abstract @interface Fancy /* Fancy*/ {
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface ReplaceWith /* ReplaceWith*/ {
|
||||
public abstract java.lang.String expression();// expression()
|
||||
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface AnnotatedAttribute /* AnnotatedAttribute*/ {
|
||||
@Anno()
|
||||
public abstract java.lang.String x();// x()
|
||||
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Deprecated /* Deprecated*/ {
|
||||
public abstract ReplaceWith replaceWith() default @ReplaceWith(expression = "");// replaceWith()
|
||||
|
||||
public abstract java.lang.String message();// message()
|
||||
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Ann /* Ann*/ {
|
||||
public abstract java.lang.Class<? extends java.lang.Object> arg2();// arg2()
|
||||
|
||||
public abstract java.lang.Class<?> arg1();// arg1()
|
||||
|
||||
}
|
||||
|
||||
@Anno()
|
||||
public final class F /* F*/ implements java.lang.Runnable {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private java.lang.String prop;
|
||||
|
||||
@Anno(p = "f")
|
||||
public final void f(@Anno() @org.jetbrains.annotations.NotNull() java.lang.String);// f(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getProp();// getProp()
|
||||
|
||||
public F();// .ctor()
|
||||
|
||||
public final void setProp(@org.jetbrains.annotations.NotNull() java.lang.String);// setProp(java.lang.String)
|
||||
|
||||
}
|
||||
|
||||
public final class Foo /* Foo*/ {
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private java.lang.String x;
|
||||
|
||||
@Anno()
|
||||
public Foo(error.NonExistentClass);// .ctor(error.NonExistentClass)
|
||||
|
||||
@Anno()
|
||||
public final void f4(@org.jetbrains.annotations.NotNull() java.lang.String);// f4(java.lang.String)
|
||||
|
||||
@Anno()
|
||||
public final void setX(@org.jetbrains.annotations.Nullable() java.lang.String);// setX(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.lang.String getX();// getX()
|
||||
|
||||
}
|
||||
|
||||
@Ann(arg1 = String::class, arg2 = Int::class)
|
||||
public final class MyClass /* MyClass*/ {
|
||||
public MyClass();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class Example /* Example*/ {
|
||||
@Ann()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String foo;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String bar;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String quux;
|
||||
|
||||
@Ann()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getBar();// getBar()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getFoo();// getFoo()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getQuux();// getQuux()
|
||||
|
||||
public Example(@org.jetbrains.annotations.NotNull() java.lang.String, @org.jetbrains.annotations.NotNull() java.lang.String, @Ann() @org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String, java.lang.String, java.lang.String)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
public class Open /* pkg.Open*/ {
|
||||
public Open();// .ctor()
|
||||
|
||||
|
||||
|
||||
|
||||
class Private ...
|
||||
|
||||
class Private2 ...
|
||||
|
||||
class StaticInternal ...
|
||||
|
||||
}
|
||||
|
||||
private static final class Private /* pkg.Open.Private*/ extends pkg.Open {
|
||||
public Private();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
protected final class Private2 /* pkg.Open.Private2*/ {
|
||||
public Private2();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public static final class StaticInternal /* pkg.Open.StaticInternal*/ {
|
||||
public StaticInternal();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class OuterInternal /* pkg.OuterInternal*/ {
|
||||
public OuterInternal();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
final class TopLevelPrivate /* pkg.TopLevelPrivate*/ {
|
||||
public TopLevelPrivate();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public abstract class Season /* pkg.Season*/ {
|
||||
private Season();// .ctor()
|
||||
|
||||
|
||||
class Nested ...
|
||||
|
||||
}
|
||||
|
||||
public static final class Nested /* pkg.Season.Nested*/ extends pkg.Season {
|
||||
public Nested();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public abstract class SealedWithArgs /* pkg.SealedWithArgs*/ {
|
||||
private final int a;
|
||||
|
||||
private SealedWithArgs(int);// .ctor(int)
|
||||
|
||||
public final int getA();// getA()
|
||||
|
||||
}
|
||||
@@ -13,4 +13,6 @@ sealed class Season {
|
||||
class Nested: Season()
|
||||
}
|
||||
|
||||
sealed class SealedWithArgs(val a: Int)
|
||||
sealed class SealedWithArgs(val a: Int)
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -0,0 +1,54 @@
|
||||
public final class TestConstructor /* TestConstructor*/ {
|
||||
private TestConstructor(int);// .ctor(int)
|
||||
|
||||
}
|
||||
|
||||
public final class A /* A*/ {
|
||||
public A(@org.jetbrains.annotations.NotNull() int[], @org.jetbrains.annotations.NotNull() kotlin.jvm.functions.Function0<kotlin.Unit>);// .ctor(int[], kotlin.jvm.functions.Function0<kotlin.Unit>)
|
||||
|
||||
}
|
||||
|
||||
public final class B /* B*/ {
|
||||
}
|
||||
|
||||
public final class Outer /* Outer*/ {
|
||||
public Outer();// .ctor()
|
||||
|
||||
|
||||
|
||||
class Inner ...
|
||||
|
||||
class Nested ...
|
||||
|
||||
}
|
||||
|
||||
public final class Inner /* Outer.Inner*/ {
|
||||
public Inner(int, @org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(int, java.lang.String)
|
||||
|
||||
}
|
||||
|
||||
public static final class Nested /* Outer.Nested*/ {
|
||||
public Nested();// .ctor()
|
||||
|
||||
public Nested(int, @org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(int, java.lang.String)
|
||||
|
||||
}
|
||||
|
||||
public abstract class A /* A*/ {
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private final java.lang.String x;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.lang.String getX();// getX()
|
||||
|
||||
private A(@org.jetbrains.annotations.Nullable() java.lang.String);// .ctor(java.lang.String)
|
||||
|
||||
|
||||
class C ...
|
||||
|
||||
}
|
||||
|
||||
public static final class C /* A.C*/ extends A {
|
||||
public C();// .ctor()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
public final class Foo /* Foo*/ {
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.lang.Object doSomething(@org.jetbrains.annotations.NotNull() Foo, @org.jetbrains.annotations.NotNull() kotlin.coroutines.Continuation<? super Bar>);// doSomething(Foo, kotlin.coroutines.Continuation<? super Bar>)
|
||||
|
||||
public Foo();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class Boo /* Boo*/ {
|
||||
public Boo();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class Bar /* Bar*/ {
|
||||
public Bar();// .ctor()
|
||||
|
||||
public final <T> void async(@org.jetbrains.annotations.NotNull() kotlin.jvm.functions.Function1<? super kotlin.coroutines.Continuation<? super T>, ? extends java.lang.Object>);// <T> async(kotlin.jvm.functions.Function1<? super kotlin.coroutines.Continuation<? super T>, ? extends java.lang.Object>)
|
||||
|
||||
}
|
||||
|
||||
public abstract interface Base /* Base*/ {
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public abstract java.lang.Object foo(@org.jetbrains.annotations.NotNull() kotlin.coroutines.Continuation<? super kotlin.Unit>);// foo(kotlin.coroutines.Continuation<? super kotlin.Unit>)
|
||||
|
||||
}
|
||||
|
||||
public final class Derived /* Derived*/ implements Base {
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public java.lang.Object foo(@org.jetbrains.annotations.NotNull() kotlin.coroutines.Continuation<? super kotlin.Unit>);// foo(kotlin.coroutines.Continuation<? super kotlin.Unit>)
|
||||
|
||||
public Derived();// .ctor()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
public final class User /* User*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String name;
|
||||
|
||||
private final int age;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final User copy(@org.jetbrains.annotations.NotNull() java.lang.String, int);// copy(java.lang.String, int)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String component1();// component1()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getName();// getName()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String toString();// toString()
|
||||
|
||||
public User();// .ctor()
|
||||
|
||||
public User(@org.jetbrains.annotations.NotNull() java.lang.String, int);// .ctor(java.lang.String, int)
|
||||
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable() java.lang.Object);// equals(java.lang.Object)
|
||||
|
||||
public final int component2();// component2()
|
||||
|
||||
public final int getAge();// getAge()
|
||||
|
||||
public int hashCode();// hashCode()
|
||||
|
||||
}
|
||||
|
||||
public final class Person /* Person*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String name;
|
||||
|
||||
private int age;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Person copy(@org.jetbrains.annotations.NotNull() java.lang.String);// copy(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String component1();// component1()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getName();// getName()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String toString();// toString()
|
||||
|
||||
public Person(@org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String)
|
||||
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable() java.lang.Object);// equals(java.lang.Object)
|
||||
|
||||
public final int getAge();// getAge()
|
||||
|
||||
public final void setAge(int);// setAge(int)
|
||||
|
||||
public int hashCode();// hashCode()
|
||||
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// CHECK_BY_JAVA_FILE
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
annotation class SimpleAnn(val value: String)
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
public abstract interface Base /* Base*/ {
|
||||
public abstract int foo(@org.jetbrains.annotations.NotNull() java.lang.String, @org.jetbrains.annotations.Nullable() java.lang.Object);// foo(java.lang.String, java.lang.Object)
|
||||
|
||||
public abstract int getX();// getX()
|
||||
|
||||
public abstract int getY();// getY()
|
||||
|
||||
public abstract void printMessage();// printMessage()
|
||||
|
||||
public abstract void printMessageLine();// printMessageLine()
|
||||
|
||||
public abstract void setY(int);// setY(int)
|
||||
|
||||
}
|
||||
|
||||
public final class BaseImpl /* BaseImpl*/ implements Base {
|
||||
private final int x;
|
||||
|
||||
public BaseImpl(int);// .ctor(int)
|
||||
|
||||
public final int getX();// getX()
|
||||
|
||||
public void printMessage();// printMessage()
|
||||
|
||||
public void printMessageLine();// printMessageLine()
|
||||
|
||||
}
|
||||
|
||||
public final class Derived /* Derived*/ implements Base {
|
||||
public Derived(@org.jetbrains.annotations.NotNull() Base);// .ctor(Base)
|
||||
|
||||
public int foo(@org.jetbrains.annotations.NotNull() java.lang.String, @org.jetbrains.annotations.Nullable() java.lang.Object);// foo(java.lang.String, java.lang.Object)
|
||||
|
||||
public int getX();// getX()
|
||||
|
||||
public int getY();// getY()
|
||||
|
||||
public void printMessage();// printMessage()
|
||||
|
||||
public void printMessageLine();// printMessageLine()
|
||||
|
||||
public void setY(int);// setY(int)
|
||||
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
// c.b.a.Foo$bar$A$B
|
||||
// CHECK_BY_JAVA_FILE
|
||||
package c.b.a
|
||||
|
||||
class Foo {
|
||||
|
||||
@@ -0,0 +1,121 @@
|
||||
public enum Direction /* Direction*/ {
|
||||
NORTH,
|
||||
SOUTH,
|
||||
WEST,
|
||||
EAST;
|
||||
|
||||
private Direction();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public enum Color /* Color*/ {
|
||||
RED,
|
||||
GREEN,
|
||||
BLUE;
|
||||
|
||||
private final int rgb;
|
||||
|
||||
private Color(@org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String)
|
||||
|
||||
private Color(int);// .ctor(int)
|
||||
|
||||
public final int getRgb();// getRgb()
|
||||
|
||||
}
|
||||
|
||||
public enum ProtocolState /* ProtocolState*/ {
|
||||
WAITING {
|
||||
WAITING();// .ctor()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public ProtocolState signal();// signal()
|
||||
|
||||
},
|
||||
TALKING {
|
||||
TALKING();// .ctor()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public ProtocolState signal();// signal()
|
||||
|
||||
};
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract ProtocolState signal();// signal()
|
||||
|
||||
private ProtocolState();// .ctor()
|
||||
|
||||
|
||||
|
||||
class TALKING ...
|
||||
|
||||
class WAITING ...
|
||||
|
||||
}
|
||||
|
||||
public static final class WAITING /* ProtocolState.WAITING*/ extends ProtocolState {
|
||||
WAITING();// .ctor()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public ProtocolState signal();// signal()
|
||||
|
||||
}
|
||||
|
||||
public static final class TALKING /* ProtocolState.TALKING*/ extends ProtocolState {
|
||||
TALKING();// .ctor()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public ProtocolState signal();// signal()
|
||||
|
||||
}
|
||||
|
||||
public enum IntArithmetics /* IntArithmetics*/ {
|
||||
PLUS {
|
||||
PLUS();// .ctor()
|
||||
|
||||
public int apply(int, int);// apply(int, int)
|
||||
|
||||
},
|
||||
TIMES {
|
||||
TIMES();// .ctor()
|
||||
|
||||
public int apply(int, int);// apply(int, int)
|
||||
|
||||
};
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public IntArithmetics applyAsInt(int, int);// applyAsInt(int, int)
|
||||
|
||||
private IntArithmetics();// .ctor()
|
||||
|
||||
|
||||
|
||||
class PLUS ...
|
||||
|
||||
class TIMES ...
|
||||
|
||||
}
|
||||
|
||||
public static final class PLUS /* IntArithmetics.PLUS*/ extends IntArithmetics {
|
||||
PLUS();// .ctor()
|
||||
|
||||
public int apply(int, int);// apply(int, int)
|
||||
|
||||
}
|
||||
|
||||
public static final class TIMES /* IntArithmetics.TIMES*/ extends IntArithmetics {
|
||||
TIMES();// .ctor()
|
||||
|
||||
public int apply(int, int);// apply(int, int)
|
||||
|
||||
}
|
||||
|
||||
public final class C /* C*/ {
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private final Direction enumConst;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final Direction getEnumConst();// getEnumConst()
|
||||
|
||||
public C();// .ctor()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
public abstract class C /* C*/<T> {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private java.util.List<? extends java.lang.CharSequence> constructorParam;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private java.util.HashSet<java.lang.String> sHashSetProp;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private java.util.List<? extends java.lang.CharSequence> csListProp;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private java.util.List<java.lang.String> sListProp;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private java.util.Set<java.lang.String> sMutableSetProp;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private java.util.Set<java.lang.String> sSetProp;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract java.util.Collection<java.util.Collection<java.lang.CharSequence>> nested(@org.jetbrains.annotations.NotNull() java.util.List<? extends java.util.List<? extends java.lang.CharSequence>>);// nested(java.util.List<? extends java.util.List<? extends java.lang.CharSequence>>)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract java.util.List<java.lang.CharSequence> listCS(@org.jetbrains.annotations.NotNull() java.util.List<? extends java.lang.CharSequence>);// listCS(java.util.List<? extends java.lang.CharSequence>)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract java.util.List<java.lang.String> listS(@org.jetbrains.annotations.NotNull() java.util.List<java.lang.String>);// listS(java.util.List<java.lang.String>)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract java.util.Set<java.lang.CharSequence> mutables(@org.jetbrains.annotations.NotNull() java.util.Collection<? super java.lang.Number>, @org.jetbrains.annotations.NotNull() java.util.List<? extends C<?>>);// mutables(java.util.Collection<? super java.lang.Number>, java.util.List<? extends C<?>>)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.util.List<java.lang.CharSequence> getConstructorParam();// getConstructorParam()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final <T extends java.lang.Object & java.lang.Comparable<? super T>> T max(@org.jetbrains.annotations.Nullable() java.util.Collection<? extends T>);// <T extends java.lang.Object & java.lang.Comparable<? super T>> max(java.util.Collection<? extends T>)
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.util.HashSet<java.lang.String> getSHashSetProp();// getSHashSetProp()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.util.List<java.lang.CharSequence> getCsListProp();// getCsListProp()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.util.List<java.lang.String> getSListProp();// getSListProp()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.util.Set<java.lang.String> getSMutableSetProp();// getSMutableSetProp()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.util.Set<java.lang.String> getSSetProp();// getSSetProp()
|
||||
|
||||
public C(@org.jetbrains.annotations.NotNull() java.util.List<? extends java.lang.CharSequence>);// .ctor(java.util.List<? extends java.lang.CharSequence>)
|
||||
|
||||
public final <Q extends T> Q getW(Q);// <Q extends T> getW(Q)
|
||||
|
||||
public final <V, U extends V> T foo(V, @org.jetbrains.annotations.NotNull() C<V>, @org.jetbrains.annotations.NotNull() kotlin.sequences.Sequence<? extends V>);// <V, U extends V> foo(V, C<V>, kotlin.sequences.Sequence<? extends V>)
|
||||
|
||||
public final void setConstructorParam(@org.jetbrains.annotations.NotNull() java.util.List<? extends java.lang.CharSequence>);// setConstructorParam(java.util.List<? extends java.lang.CharSequence>)
|
||||
|
||||
public final void setCsListProp(@org.jetbrains.annotations.Nullable() java.util.List<? extends java.lang.CharSequence>);// setCsListProp(java.util.List<? extends java.lang.CharSequence>)
|
||||
|
||||
public final void setSHashSetProp(@org.jetbrains.annotations.Nullable() java.util.HashSet<java.lang.String>);// setSHashSetProp(java.util.HashSet<java.lang.String>)
|
||||
|
||||
public final void setSListProp(@org.jetbrains.annotations.Nullable() java.util.List<java.lang.String>);// setSListProp(java.util.List<java.lang.String>)
|
||||
|
||||
public final void setSMutableSetProp(@org.jetbrains.annotations.Nullable() java.util.Set<java.lang.String>);// setSMutableSetProp(java.util.Set<java.lang.String>)
|
||||
|
||||
public final void setSSetProp(@org.jetbrains.annotations.Nullable() java.util.Set<java.lang.String>);// setSSetProp(java.util.Set<java.lang.String>)
|
||||
|
||||
}
|
||||
|
||||
public class K /* K*/<T extends K<? extends T>> {
|
||||
public K();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class Sub /* Sub*/ extends K<K<?>> {
|
||||
public Sub();// .ctor()
|
||||
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
public final class MyList /* MyList*/ implements java.util.List<java.lang.String>, kotlin.collections.List<java.lang.String>, kotlin.jvm.internal.markers.KMappedMarker {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String get(int);// get(int)
|
||||
|
||||
public MyList();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public abstract interface ASet /* ASet*/<T> extends java.util.Collection<T>, kotlin.collections.MutableCollection<T>, kotlin.jvm.internal.markers.KMutableCollection {
|
||||
}
|
||||
|
||||
public abstract class MySet /* MySet*/<T> implements ASet<T> {
|
||||
public MySet();// .ctor()
|
||||
|
||||
public boolean remove(@org.jetbrains.annotations.NotNull() java.lang.String);// remove(java.lang.String)
|
||||
|
||||
}
|
||||
|
||||
public abstract class SmartSet /* SmartSet*/<T> extends kotlin.collections.AbstractMutableSet<T> {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.util.Iterator<T> iterator();// iterator()
|
||||
|
||||
private SmartSet();// .ctor()
|
||||
|
||||
public boolean add(T);// add(T)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public final class O /* O*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final O INSTANCE;
|
||||
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public static final void foo();// foo()
|
||||
|
||||
private O();// .ctor()
|
||||
|
||||
}
|
||||
@@ -3,3 +3,5 @@ import kotlin.jvm.JvmStatic as JS
|
||||
object O {
|
||||
@JS fun foo() {}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -1,3 +1,4 @@
|
||||
// CHECK_BY_JAVA_FILE
|
||||
class Prop {
|
||||
private val someProp = object { }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
public abstract interface Intf /* Intf*/ {
|
||||
public abstract int v();// v()
|
||||
|
||||
}
|
||||
|
||||
public abstract interface IntfWithProp /* IntfWithProp*/ extends Intf {
|
||||
public abstract int getX();// getX()
|
||||
|
||||
}
|
||||
|
||||
public abstract class Base /* Base*/ {
|
||||
private int y;
|
||||
|
||||
private int z;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
protected java.lang.Integer v();// v()
|
||||
|
||||
protected int getZ();// getZ()
|
||||
|
||||
protected void setZ(int);// setZ(int)
|
||||
|
||||
public Base(int);// .ctor(int)
|
||||
|
||||
public abstract int abs();// abs()
|
||||
|
||||
public final void nv();// nv()
|
||||
|
||||
public int getX$light_idea_test_case();// getX$light_idea_test_case()
|
||||
|
||||
public int getY();// getY()
|
||||
|
||||
public void setY(int);// setY(int)
|
||||
|
||||
}
|
||||
|
||||
public final class Derived /* Derived*/ extends Base implements IntfWithProp {
|
||||
private final int x;
|
||||
|
||||
public Derived(int);// .ctor(int)
|
||||
|
||||
public error.NonExistentClass v();// v()
|
||||
|
||||
public int abs();// abs()
|
||||
|
||||
public int getX();// getX()
|
||||
|
||||
}
|
||||
|
||||
public abstract class AnotherDerived /* AnotherDerived*/ extends Base {
|
||||
private final int x;
|
||||
|
||||
private final int y;
|
||||
|
||||
private final int z;
|
||||
|
||||
protected final void v();// v()
|
||||
|
||||
protected int getZ();// getZ()
|
||||
|
||||
public AnotherDerived(int, int, int);// .ctor(int, int, int)
|
||||
|
||||
public abstract int getAbstractProp();// getAbstractProp()
|
||||
|
||||
public abstract void noReturn(@org.jetbrains.annotations.NotNull() java.lang.String);// noReturn(java.lang.String)
|
||||
|
||||
public int getX$light_idea_test_case();// getX$light_idea_test_case()
|
||||
|
||||
public int getY();// getY()
|
||||
|
||||
}
|
||||
|
||||
final class Private /* Private*/ {
|
||||
public Private();// .ctor()
|
||||
|
||||
public boolean getOverridesNothing();// getOverridesNothing()
|
||||
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// CHECK_BY_JAVA_FILE
|
||||
inline class UInt(private val value: Int) { }
|
||||
|
||||
inline enum class Foo(val x: Int) {
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
public final class A /* A*/ {
|
||||
@kotlin.internal.InlineOnly()
|
||||
private final void foo();// foo()
|
||||
|
||||
public A();// .ctor()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class C /* C*/ {
|
||||
public C();// .ctor()
|
||||
|
||||
}
|
||||
@@ -9,3 +9,5 @@ class C {
|
||||
inline get() = toString()
|
||||
inline set(value) {}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -0,0 +1,61 @@
|
||||
public final class A /* A*/ {
|
||||
@kotlin.jvm.JvmField()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.util.Collection<?> a;
|
||||
|
||||
@kotlin.jvm.JvmField()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.util.Collection<?> c;
|
||||
|
||||
@kotlin.jvm.JvmField()
|
||||
public int b;
|
||||
|
||||
@kotlin.jvm.JvmField()
|
||||
public static int d;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final A.Companion Companion;
|
||||
|
||||
public A();// .ctor()
|
||||
|
||||
|
||||
class Companion ...
|
||||
|
||||
}
|
||||
|
||||
public static final class Companion /* A.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public abstract interface B /* B*/ {
|
||||
@kotlin.jvm.JvmField()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.util.Collection<?> a;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final B.Companion Companion;
|
||||
|
||||
|
||||
class Companion ...
|
||||
|
||||
}
|
||||
|
||||
public static final class Companion /* B.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class C /* C*/ {
|
||||
@kotlin.jvm.JvmField()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.util.Collection<?> a;
|
||||
|
||||
@kotlin.jvm.JvmField()
|
||||
public int b;
|
||||
|
||||
public C();// .ctor()
|
||||
|
||||
public C(@org.jetbrains.annotations.NotNull() java.util.Collection<?>, int);// .ctor(java.util.Collection<?>, int)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
public final class C /* C*/ {
|
||||
@kotlin.jvm.JvmName(name = "fooInt")
|
||||
public final void fooInt(@org.jetbrains.annotations.NotNull() java.util.List<java.lang.Integer>);// fooInt(java.util.List<java.lang.Integer>)
|
||||
|
||||
@kotlin.jvm.JvmName(name = "get_rwProp")
|
||||
public final int get_rwProp();// get_rwProp()
|
||||
|
||||
@kotlin.jvm.JvmName(name = "hasBigArity")
|
||||
public final boolean hasBigArity();// hasBigArity()
|
||||
|
||||
@kotlin.jvm.JvmName(name = "set_rwProp")
|
||||
public final void set_rwProp(int);// set_rwProp(int)
|
||||
|
||||
@kotlin.jvm.JvmName(name = "xyz1")
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String xyz1();// xyz1()
|
||||
|
||||
@kotlin.jvm.JvmName(name = "xyz2")
|
||||
public final void xyz2(@org.jetbrains.annotations.NotNull() java.lang.String);// xyz2(java.lang.String)
|
||||
|
||||
public C();// .ctor()
|
||||
|
||||
public final int getRwProp();// getRwProp()
|
||||
|
||||
public final void foo(@org.jetbrains.annotations.NotNull() java.util.List<java.lang.String>);// foo(java.util.List<java.lang.String>)
|
||||
|
||||
public final void setRwProp(int);// setRwProp(int)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
public final class C /* C*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String p2;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final C.Companion Companion;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private final java.lang.String type;
|
||||
|
||||
private final boolean p1;
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public static final void fooStatic(double);// fooStatic(double)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public static final void fooStatic(int, double);// fooStatic(int, double)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public static final void fooStatic(int, double, @org.jetbrains.annotations.NotNull() java.lang.String);// fooStatic(int, double, java.lang.String)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public C(@org.jetbrains.annotations.Nullable() java.lang.String);// .ctor(java.lang.String)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public C(@org.jetbrains.annotations.Nullable() java.lang.String, boolean);// .ctor(java.lang.String, boolean)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public C(@org.jetbrains.annotations.Nullable() java.lang.String, boolean, @org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String, boolean, java.lang.String)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void bar();// bar()
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void bar(int);// bar(int)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void bar(int, double);// bar(int, double)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void bar(int, double, @org.jetbrains.annotations.NotNull() java.lang.String);// bar(int, double, java.lang.String)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void baz(@org.jetbrains.annotations.NotNull() java.lang.String);// baz(java.lang.String)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void baz(int, @org.jetbrains.annotations.NotNull() java.lang.String);// baz(int, java.lang.String)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void baz(int, double, @org.jetbrains.annotations.NotNull() java.lang.String);// baz(int, double, java.lang.String)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foo(double);// foo(double)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foo(int, double);// foo(int, double)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foo(int, double, @org.jetbrains.annotations.NotNull() java.lang.String);// foo(int, double, java.lang.String)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foobar(int);// foobar(int)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foobar(int, double);// foobar(int, double)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foobar(int, double, @org.jetbrains.annotations.NotNull() java.lang.String);// foobar(int, double, java.lang.String)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foobarbaz(int, @org.jetbrains.annotations.NotNull() java.lang.String);// foobarbaz(int, java.lang.String)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foobarbaz(int, double, @org.jetbrains.annotations.NotNull() java.lang.String);// foobarbaz(int, double, java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getP2();// getP2()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.lang.String getType();// getType()
|
||||
|
||||
public final boolean getP1();// getP1()
|
||||
|
||||
|
||||
class Companion ...
|
||||
|
||||
}
|
||||
|
||||
public static final class Companion /* C.Companion*/ {
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public final void fooStatic(double);// fooStatic(double)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public final void fooStatic(int, double);// fooStatic(int, double)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public final void fooStatic(int, double, @org.jetbrains.annotations.NotNull() java.lang.String);// fooStatic(int, double, java.lang.String)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foo123(double);// foo123(double)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foo123(int, double);// foo123(int, double)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foo123(int, double, @org.jetbrains.annotations.NotNull() java.lang.String);// foo123(int, double, java.lang.String)
|
||||
|
||||
private Companion();// .ctor()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
public final class A /* A*/ {
|
||||
private int z;
|
||||
|
||||
public A();// .ctor()
|
||||
|
||||
public final int getX();// getX()
|
||||
|
||||
public final void setX(int);// setX(int)
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
|
||||
// CHECK_BY_JAVA_FILE
|
||||
|
||||
class X {
|
||||
@get:JvmSynthetic
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
public final class Inv /* Inv*/<E> {
|
||||
public Inv();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class Out /* Out*/<T> {
|
||||
public Out();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class OutPair /* OutPair*/<Final, Y> {
|
||||
public OutPair();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class In /* In*/<Z> {
|
||||
public In();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class Final /* Final*/ {
|
||||
public Final();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public class Open /* Open*/ {
|
||||
public Open();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class Container /* Container*/ {
|
||||
@kotlin.jvm.JvmSuppressWildcards(suppress = false)
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Out<? extends Open> bar();// bar()
|
||||
|
||||
@kotlin.jvm.JvmSuppressWildcards(suppress = false)
|
||||
public final int foo(boolean, @org.jetbrains.annotations.NotNull() Out<? extends java.lang.Integer>);// foo(boolean, Out<? extends java.lang.Integer>)
|
||||
|
||||
@kotlin.jvm.JvmSuppressWildcards(suppress = true)
|
||||
public final int bar(boolean, @org.jetbrains.annotations.NotNull() In<java.lang.Long>, long);// bar(boolean, In<java.lang.Long>, long)
|
||||
|
||||
@kotlin.jvm.JvmSuppressWildcards(suppress = true)
|
||||
public final void deepOpen(@org.jetbrains.annotations.NotNull() Out<Out<Out<Open>>>);// deepOpen(Out<Out<Out<Open>>>)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final OutPair<? extends Final, OutPair<Out<Final>, Out<? extends Final>>> falseTrueFalse();// falseTrueFalse()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final OutPair<Open, ? extends OutPair<Open,? extends Out<Open>>> combination();// combination()
|
||||
|
||||
public Container();// .ctor()
|
||||
|
||||
public final void simpleIn(@org.jetbrains.annotations.NotNull() In<? super java.lang.Object>);// simpleIn(In<? super java.lang.Object>)
|
||||
|
||||
public final void simpleOut(@org.jetbrains.annotations.NotNull() Out<? extends Final>);// simpleOut(Out<? extends Final>)
|
||||
|
||||
}
|
||||
|
||||
public abstract interface A /* A*/<T> {
|
||||
@kotlin.jvm.JvmSuppressWildcards(suppress = true)
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract Out<T> foo();// foo()
|
||||
|
||||
}
|
||||
|
||||
public abstract interface B /* B*/ {
|
||||
@kotlin.jvm.JvmSuppressWildcards(suppress = true)
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract In<Open> foo();// foo()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
public class A /* A*/ {
|
||||
private java.lang.String b;
|
||||
|
||||
protected java.lang.String c;
|
||||
|
||||
public java.lang.String a;
|
||||
|
||||
public java.lang.String d;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getA();// getA()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getB();// getB()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getC();// getC()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getD();// getD()
|
||||
|
||||
protected final void setC(@org.jetbrains.annotations.NotNull() java.lang.String);// setC(java.lang.String)
|
||||
|
||||
public A();// .ctor()
|
||||
|
||||
public final void setA(@org.jetbrains.annotations.NotNull() java.lang.String);// setA(java.lang.String)
|
||||
|
||||
public final void setD$light_idea_test_case(@org.jetbrains.annotations.NotNull() java.lang.String);// setD$light_idea_test_case(java.lang.String)
|
||||
|
||||
}
|
||||
|
||||
public class B /* B*/ {
|
||||
private java.lang.String b;
|
||||
|
||||
protected java.lang.String c;
|
||||
|
||||
public java.lang.String a;
|
||||
|
||||
public java.lang.String d;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getA$light_idea_test_case();// getA$light_idea_test_case()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getB$light_idea_test_case();// getB$light_idea_test_case()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getC$light_idea_test_case();// getC$light_idea_test_case()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getD$light_idea_test_case();// getD$light_idea_test_case()
|
||||
|
||||
protected final void setC(@org.jetbrains.annotations.NotNull() java.lang.String);// setC(java.lang.String)
|
||||
|
||||
public B();// .ctor()
|
||||
|
||||
public final void setA$light_idea_test_case(@org.jetbrains.annotations.NotNull() java.lang.String);// setA$light_idea_test_case(java.lang.String)
|
||||
|
||||
public final void setD$light_idea_test_case(@org.jetbrains.annotations.NotNull() java.lang.String);// setD$light_idea_test_case(java.lang.String)
|
||||
|
||||
}
|
||||
|
||||
public class C /* C*/ {
|
||||
private java.lang.String b;
|
||||
|
||||
protected java.lang.String a;
|
||||
|
||||
protected java.lang.String c;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
protected final java.lang.String getA();// getA()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
protected final java.lang.String getB();// getB()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
protected final java.lang.String getC();// getC()
|
||||
|
||||
protected final void setA(@org.jetbrains.annotations.NotNull() java.lang.String);// setA(java.lang.String)
|
||||
|
||||
protected final void setC(@org.jetbrains.annotations.NotNull() java.lang.String);// setC(java.lang.String)
|
||||
|
||||
public C();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public class D /* D*/ {
|
||||
private java.lang.String a;
|
||||
|
||||
private java.lang.String b;
|
||||
|
||||
public D();// .ctor()
|
||||
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// CHECK_BY_JAVA_FILE
|
||||
class Boo {
|
||||
fun fooBar() {
|
||||
class LocalClassBase
|
||||
|
||||
@@ -0,0 +1,171 @@
|
||||
public final class C /* C*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static java.lang.String x;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final C.Companion Companion;
|
||||
|
||||
@kotlin.jvm.JvmStatic()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getC(@org.jetbrains.annotations.NotNull() I);// getC(I)
|
||||
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public static final void foo();// foo()
|
||||
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public static final void setC(@org.jetbrains.annotations.NotNull() I, @org.jetbrains.annotations.NotNull() java.lang.String);// setC(I, java.lang.String)
|
||||
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public static final void setC1(@org.jetbrains.annotations.NotNull() java.lang.String);// setC1(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getX();// getX()
|
||||
|
||||
public C();// .ctor()
|
||||
|
||||
public static final void setX(@org.jetbrains.annotations.NotNull() java.lang.String);// setX(java.lang.String)
|
||||
|
||||
|
||||
|
||||
class Companion ...
|
||||
|
||||
class Factory ...
|
||||
|
||||
}
|
||||
|
||||
public static final class Companion /* C.Companion*/ {
|
||||
@kotlin.jvm.JvmStatic()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getC(@org.jetbrains.annotations.NotNull() I);// getC(I)
|
||||
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public final void foo();// foo()
|
||||
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public final void setC(@org.jetbrains.annotations.NotNull() I, @org.jetbrains.annotations.NotNull() java.lang.String);// setC(I, java.lang.String)
|
||||
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public final void setC1(@org.jetbrains.annotations.NotNull() java.lang.String);// setC1(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getC1();// getC1()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getX();// getX()
|
||||
|
||||
private Companion();// .ctor()
|
||||
|
||||
public final void bar();// bar()
|
||||
|
||||
public final void setX(@org.jetbrains.annotations.NotNull() java.lang.String);// setX(java.lang.String)
|
||||
|
||||
}
|
||||
|
||||
public static final class Factory /* C.Factory*/ {
|
||||
private Factory();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class C1 /* C1*/ {
|
||||
private static final C1.Companion Companion;
|
||||
|
||||
public C1();// .ctor()
|
||||
|
||||
|
||||
class Companion ...
|
||||
|
||||
}
|
||||
|
||||
private static final class Companion /* C1.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public abstract interface I /* I*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final I.Companion Companion;
|
||||
|
||||
|
||||
class Companion ...
|
||||
|
||||
}
|
||||
|
||||
public static final class Companion /* I.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class Obj /* Obj*/ implements java.lang.Runnable {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static java.lang.String x;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final Obj INSTANCE;
|
||||
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public static final int zoo();// zoo()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getX();// getX()
|
||||
|
||||
private Obj();// .ctor()
|
||||
|
||||
public static final void setX(@org.jetbrains.annotations.NotNull() java.lang.String);// setX(java.lang.String)
|
||||
|
||||
public void run();// run()
|
||||
|
||||
}
|
||||
|
||||
public final class ConstContainer /* ConstContainer*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final ConstContainer INSTANCE;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String str = "one" /* initializer type: java.lang.String */ /* constant value one */;
|
||||
|
||||
public static final double complexFloat = 5.118281745910645 /* initializer type: double */ /* constant value 5.118281745910645 */;
|
||||
|
||||
public static final double e = 2.7182818284 /* initializer type: double */ /* constant value 2.7182818284 */;
|
||||
|
||||
public static final float eFloat = 2.7182817f /* initializer type: float */ /* constant value 2.7182817 */;
|
||||
|
||||
public static final int one = 1 /* initializer type: int */ /* constant value 1 */;
|
||||
|
||||
public static final long complexLong = 2L /* initializer type: long */ /* constant value 2 */;
|
||||
|
||||
public static final long oneLong = 1L /* initializer type: long */ /* constant value 1 */;
|
||||
|
||||
private ConstContainer();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class ClassWithConstContainer /* ClassWithConstContainer*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final ClassWithConstContainer.Companion Companion;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String str = "one" /* initializer type: java.lang.String */ /* constant value one */;
|
||||
|
||||
public static final double complexFloat = 5.118281745910645 /* initializer type: double */ /* constant value 5.118281745910645 */;
|
||||
|
||||
public static final double e = 2.7182818284 /* initializer type: double */ /* constant value 2.7182818284 */;
|
||||
|
||||
public static final float eFloat = 2.7182817f /* initializer type: float */ /* constant value 2.7182817 */;
|
||||
|
||||
public static final int one = 1 /* initializer type: int */ /* constant value 1 */;
|
||||
|
||||
public static final long complexLong = 2L /* initializer type: long */ /* constant value 2 */;
|
||||
|
||||
public static final long oneLong = 1L /* initializer type: long */ /* constant value 1 */;
|
||||
|
||||
public ClassWithConstContainer();// .ctor()
|
||||
|
||||
|
||||
class Companion ...
|
||||
|
||||
}
|
||||
|
||||
public static final class Companion /* ClassWithConstContainer.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,230 @@
|
||||
public final class Foo /* Foo*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final Foo b;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.Object arrayConst;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final kotlin.jvm.functions.Function1<java.lang.Integer, java.lang.Integer> sum;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private java.lang.String name;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private java.lang.String protectedWithPrivateSet;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String CONSTANT_WITH_ESCAPES = "A\tB\nC\rD'E\"F\\G$H" /* initializer type: java.lang.String */ /* constant value A B
|
||||
C
|
||||
D'E"F\G$H */;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String SUBSYSTEM_DEPRECATED = "This subsystem is deprecated" /* initializer type: java.lang.String */ /* constant value This subsystem is deprecated */;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final Foo.Companion Companion;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private java.lang.Boolean isEmptyMutable;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private java.lang.Boolean islowercase;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private java.lang.Integer getInt;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private java.lang.Integer isEmptyInt;
|
||||
|
||||
private boolean c;
|
||||
|
||||
private final error.NonExistentClass d;
|
||||
|
||||
private final error.NonExistentClass delegatedProp$delegate;
|
||||
|
||||
private final error.NonExistentClass delegatedProp2$delegate;
|
||||
|
||||
private final error.NonExistentClass lazyProp$delegate;
|
||||
|
||||
private final error.NonExistentClass privateDelegated$delegate;
|
||||
|
||||
private final int f1$1;
|
||||
|
||||
private final java.lang.Void intConst;
|
||||
|
||||
private final long e;
|
||||
|
||||
private int counter;
|
||||
|
||||
private int f2;
|
||||
|
||||
private int internalWithPrivateSet;
|
||||
|
||||
private int privateVarWithPrivateSet;
|
||||
|
||||
private java.lang.Object privateVarWithGet;
|
||||
|
||||
private java.lang.String internalVarPrivateSet;
|
||||
|
||||
private java.lang.String noAccessors;
|
||||
|
||||
private static final error.NonExistentClass contextBean;
|
||||
|
||||
private static final int f1;
|
||||
|
||||
private static int prop7;
|
||||
|
||||
protected java.lang.String protectedLateinitVar;
|
||||
|
||||
public error.NonExistentClass subject;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
protected final java.lang.String getProtectedLateinitVar();// getProtectedLateinitVar()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
protected final java.lang.String getProtectedWithPrivateSet();// getProtectedWithPrivateSet()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Foo getB();// getB()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.Object getArrayConst();// getArrayConst()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getDelegatedProp();// getDelegatedProp()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getInternalVarPrivateSet$light_idea_test_case();// getInternalVarPrivateSet$light_idea_test_case()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getLazyProp();// getLazyProp()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getName();// getName()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getStringRepresentation$light_idea_test_case();// getStringRepresentation$light_idea_test_case()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final kotlin.jvm.functions.Function1<java.lang.Integer, java.lang.Integer> getSum();// getSum()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.lang.Boolean getIslowercase();// getIslowercase()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.lang.Boolean isEmptyMutable();// isEmptyMutable()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.lang.Integer getCounter2();// getCounter2()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.lang.Integer getGetInt();// getGetInt()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public final java.lang.Integer isEmptyInt();// isEmptyInt()
|
||||
|
||||
private final int getPrivateDelegated();// getPrivateDelegated()
|
||||
|
||||
private final java.lang.String getPrivateValWithGet();// getPrivateValWithGet()
|
||||
|
||||
private final void setPrivateDelegated(int);// setPrivateDelegated(int)
|
||||
|
||||
protected final int getF2();// getF2()
|
||||
|
||||
protected final long getE();// getE()
|
||||
|
||||
protected final void setF2(int);// setF2(int)
|
||||
|
||||
protected final void setProtectedLateinitVar(@org.jetbrains.annotations.NotNull() java.lang.String);// setProtectedLateinitVar(java.lang.String)
|
||||
|
||||
public Foo(int, @org.jetbrains.annotations.NotNull() Foo, boolean, error.NonExistentClass, long);// .ctor(int, Foo, boolean, error.NonExistentClass, long)
|
||||
|
||||
public final boolean getC();// getC()
|
||||
|
||||
public final boolean isEmpty();// isEmpty()
|
||||
|
||||
public final error.NonExistentClass getSubject();// getSubject()
|
||||
|
||||
public final int getCounter();// getCounter()
|
||||
|
||||
public final int getDelegatedProp2();// getDelegatedProp2()
|
||||
|
||||
public final int getF1();// getF1()
|
||||
|
||||
public final int getIntProp(int);// getIntProp(int)
|
||||
|
||||
public final int getInternalWithPrivateSet$light_idea_test_case();// getInternalWithPrivateSet$light_idea_test_case()
|
||||
|
||||
public final java.lang.Void getIntConst();// getIntConst()
|
||||
|
||||
public final void setC(boolean);// setC(boolean)
|
||||
|
||||
public final void setCounter(int);// setCounter(int)
|
||||
|
||||
public final void setCounter2(@org.jetbrains.annotations.Nullable() java.lang.Integer);// setCounter2(java.lang.Integer)
|
||||
|
||||
public final void setDelegatedProp(@org.jetbrains.annotations.NotNull() java.lang.String);// setDelegatedProp(java.lang.String)
|
||||
|
||||
public final void setDelegatedProp2(int);// setDelegatedProp2(int)
|
||||
|
||||
public final void setEmptyInt(@org.jetbrains.annotations.Nullable() java.lang.Integer);// setEmptyInt(java.lang.Integer)
|
||||
|
||||
public final void setEmptyMutable(@org.jetbrains.annotations.Nullable() java.lang.Boolean);// setEmptyMutable(java.lang.Boolean)
|
||||
|
||||
public final void setGetInt(@org.jetbrains.annotations.Nullable() java.lang.Integer);// setGetInt(java.lang.Integer)
|
||||
|
||||
public final void setIslowercase(@org.jetbrains.annotations.Nullable() java.lang.Boolean);// setIslowercase(java.lang.Boolean)
|
||||
|
||||
public final void setLazyProp(@org.jetbrains.annotations.NotNull() java.lang.String);// setLazyProp(java.lang.String)
|
||||
|
||||
public final void setName(@org.jetbrains.annotations.NotNull() java.lang.String);// setName(java.lang.String)
|
||||
|
||||
public final void setStringRepresentation$light_idea_test_case(@org.jetbrains.annotations.NotNull() java.lang.String);// setStringRepresentation$light_idea_test_case(java.lang.String)
|
||||
|
||||
public final void setSubject(error.NonExistentClass);// setSubject(error.NonExistentClass)
|
||||
|
||||
|
||||
class Companion ...
|
||||
|
||||
}
|
||||
|
||||
public static final class Companion /* Foo.Companion*/ {
|
||||
private Companion();// .ctor()
|
||||
|
||||
public final int getF1();// getF1()
|
||||
|
||||
public final int getProp3();// getProp3()
|
||||
|
||||
public final int getProp7();// getProp7()
|
||||
|
||||
public final void setProp7(int);// setProp7(int)
|
||||
|
||||
}
|
||||
|
||||
public final class MyProperty /* MyProperty*/<T> {
|
||||
public MyProperty();// .ctor()
|
||||
|
||||
public final int getValue(T, @org.jetbrains.annotations.NotNull() kotlin.reflect.KProperty<?>);// getValue(T, kotlin.reflect.KProperty<?>)
|
||||
|
||||
public final void setValue(T, @org.jetbrains.annotations.NotNull() kotlin.reflect.KProperty<?>, int);// setValue(T, kotlin.reflect.KProperty<?>, int)
|
||||
|
||||
}
|
||||
|
||||
public final class Modifiers /* Modifiers*/ {
|
||||
private final int plainField;
|
||||
|
||||
public Modifiers();// .ctor()
|
||||
|
||||
public final int getPlainField();// getPlainField()
|
||||
|
||||
}
|
||||
|
||||
public abstract interface A /* A*/ {
|
||||
protected abstract int getInt1();// getInt1()
|
||||
|
||||
public abstract int getInt2();// getInt2()
|
||||
|
||||
public abstract void setInt2$light_idea_test_case(int);// setInt2$light_idea_test_case(int)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
public final class Foo /* Foo*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Foo onString(@org.jetbrains.annotations.NotNull() java.lang.String, @org.jetbrains.annotations.NotNull() kotlin.jvm.functions.Function1<? super java.lang.Integer, ? extends java.lang.Object>);// onString(java.lang.String, kotlin.jvm.functions.Function1<? super java.lang.Integer, ? extends java.lang.Object>)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Foo plus(int);// plus(int)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final native java.lang.String externalFun(int);// externalFun(int)
|
||||
|
||||
private final /* vararg */ java.lang.String bar3(Foo.Inner, Foo.Inner...);// bar3(Foo.Inner, Foo.Inner[])
|
||||
|
||||
public Foo();// .ctor()
|
||||
|
||||
public final /* vararg */ void nullableVararg(@org.jetbrains.annotations.Nullable() java.lang.Object...);// nullableVararg(java.lang.Object[])
|
||||
|
||||
public final int bar4();// bar4()
|
||||
|
||||
public final void bar2$light_idea_test_case(error.NonExistentClass, error.NonExistentClass);// bar2$light_idea_test_case(error.NonExistentClass, error.NonExistentClass)
|
||||
|
||||
public void bar(int, @org.jetbrains.annotations.NotNull() java.lang.Object, @org.jetbrains.annotations.NotNull() Foo);// bar(int, java.lang.Object, Foo)
|
||||
|
||||
|
||||
class Inner ...
|
||||
|
||||
}
|
||||
|
||||
public static final class Inner /* Foo.Inner*/ {
|
||||
public Inner();// .ctor()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
public final class MyException /* MyException*/ extends java.lang.Exception {
|
||||
public MyException();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class C /* C*/ {
|
||||
@kotlin.jvm.Throws(exceptionClasses = {Exception::class})
|
||||
public C() throws java.lang.Exception;// .ctor()
|
||||
|
||||
@kotlin.jvm.Throws(exceptionClasses = {Exception::class})
|
||||
public C(int) throws java.lang.Exception;// .ctor(int)
|
||||
|
||||
@kotlin.jvm.Throws(exceptionClasses = {java.io.IOException::class, MyException::class})
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String readFile(@org.jetbrains.annotations.NotNull() java.lang.String) throws java.io.IOException, MyException;// readFile(java.lang.String)
|
||||
|
||||
@kotlin.jvm.Throws(exceptionClasses = {kotlin.Throwable::class})
|
||||
public final void baz() throws java.lang.Throwable;// baz()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
public final class O /* O*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final O INSTANCE;
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foo();// foo()
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foo(int);// foo(int)
|
||||
|
||||
@kotlin.jvm.JvmOverloads()
|
||||
public final void foo(int, @org.jetbrains.annotations.NotNull() java.lang.String);// foo(int, java.lang.String)
|
||||
|
||||
private O();// .ctor()
|
||||
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// CHECK_BY_JAVA_FILE
|
||||
@Target(AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.TYPE)
|
||||
annotation class A0
|
||||
@Target(AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.TYPE)
|
||||
|
||||
@@ -0,0 +1,109 @@
|
||||
public final class Inv /* Inv*/<E> {
|
||||
public Inv();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class Out /* Out*/<T> {
|
||||
public Out();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class OutPair /* OutPair*/<Final, Y> {
|
||||
public OutPair();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class In /* In*/<Z> {
|
||||
public In();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class Final /* Final*/ {
|
||||
public Final();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public class Open /* Open*/ {
|
||||
public Open();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
public final class Container /* Container*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final In<Final> notDeepIn();// notDeepIn()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Inv<? super Out<? extends Open>> skipWildcardsUntilInProjection();// skipWildcardsUntilInProjection()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Inv<In<Out<? extends Open>>> skipAllInvWildcards();// skipAllInvWildcards()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Inv<OutPair<Open, Out<Out<Open>>>> skipAllOutInvWildcards();// skipAllOutInvWildcards()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Out<In<Out<? extends Open>>> skipWildcardsUntilIn0();// skipWildcardsUntilIn0()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Out<In<Out<Final>>> skipWildcardsUntilIn1();// skipWildcardsUntilIn1()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Out<In<OutPair<Final, ? extends Out<? extends Open>>>> skipWildcardsUntilIn2();// skipWildcardsUntilIn2()
|
||||
|
||||
public Container();// .ctor()
|
||||
|
||||
public final <Q extends Final> void typeParameter(@org.jetbrains.annotations.NotNull() Out<? extends Q>, @org.jetbrains.annotations.NotNull() In<? super Q>);// <Q extends Final> typeParameter(Out<? extends Q>, In<? super Q>)
|
||||
|
||||
public final void arrayOfOutFinal(@org.jetbrains.annotations.NotNull() Out<Final>[]);// arrayOfOutFinal(Out<Final>[])
|
||||
|
||||
public final void arrayOfOutOpen(@org.jetbrains.annotations.NotNull() Out<Open>[]);// arrayOfOutOpen(Out<Open>[])
|
||||
|
||||
public final void deepFinal(@org.jetbrains.annotations.NotNull() Out<Out<Out<Final>>>);// deepFinal(Out<Out<Out<Final>>>)
|
||||
|
||||
public final void deepOpen(@org.jetbrains.annotations.NotNull() Out<? extends Out<? extends Out<? extends Open>>>);// deepOpen(Out<? extends Out<? extends Out<? extends Open>>>)
|
||||
|
||||
public final void finalClassArgument(@org.jetbrains.annotations.NotNull() Out<Final>, @org.jetbrains.annotations.NotNull() In<? super Final>);// finalClassArgument(Out<Final>, In<? super Final>)
|
||||
|
||||
public final void inAny(@org.jetbrains.annotations.NotNull() In<java.lang.Object>);// inAny(In<java.lang.Object>)
|
||||
|
||||
public final void inFinal(@org.jetbrains.annotations.NotNull() In<? super Final>);// inFinal(In<? super Final>)
|
||||
|
||||
public final void inOutFinal(@org.jetbrains.annotations.NotNull() In<? super Out<Final>>);// inOutFinal(In<? super Out<Final>>)
|
||||
|
||||
public final void invFinal(@org.jetbrains.annotations.NotNull() Inv<Final>);// invFinal(Inv<Final>)
|
||||
|
||||
public final void invIn(@org.jetbrains.annotations.NotNull() Out<? extends Inv<? super Final>>);// invIn(Out<? extends Inv<? super Final>>)
|
||||
|
||||
public final void invInAny(@org.jetbrains.annotations.NotNull() Out<Inv<? super java.lang.Object>>);// invInAny(Out<Inv<? super java.lang.Object>>)
|
||||
|
||||
public final void invInOutFinal(@org.jetbrains.annotations.NotNull() Inv<In<Out<Final>>>);// invInOutFinal(Inv<In<Out<Final>>>)
|
||||
|
||||
public final void invInOutOpen(@org.jetbrains.annotations.NotNull() Inv<In<Out<? extends Open>>>);// invInOutOpen(Inv<In<Out<? extends Open>>>)
|
||||
|
||||
public final void invInv(@org.jetbrains.annotations.NotNull() Out<Inv<Open>>);// invInv(Out<Inv<Open>>)
|
||||
|
||||
public final void invOpen(@org.jetbrains.annotations.NotNull() Inv<Open>);// invOpen(Inv<Open>)
|
||||
|
||||
public final void invOut(@org.jetbrains.annotations.NotNull() Out<? extends Inv<? extends Open>>);// invOut(Out<? extends Inv<? extends Open>>)
|
||||
|
||||
public final void invOutFinal(@org.jetbrains.annotations.NotNull() Inv<Out<Final>>);// invOutFinal(Inv<Out<Final>>)
|
||||
|
||||
public final void invOutFinal(@org.jetbrains.annotations.NotNull() Out<Inv<? extends Final>>);// invOutFinal(Out<Inv<? extends Final>>)
|
||||
|
||||
public final void invOutOpen(@org.jetbrains.annotations.NotNull() Inv<Out<Open>>);// invOutOpen(Inv<Out<Open>>)
|
||||
|
||||
public final void invOutProjectedOutFinal(@org.jetbrains.annotations.NotNull() Inv<? extends Out<Final>>);// invOutProjectedOutFinal(Inv<? extends Out<Final>>)
|
||||
|
||||
public final void oneArgumentFinal(@org.jetbrains.annotations.NotNull() OutPair<Final, ? extends Open>);// oneArgumentFinal(OutPair<Final, ? extends Open>)
|
||||
|
||||
public final void openClassArgument(@org.jetbrains.annotations.NotNull() Out<? extends Open>, @org.jetbrains.annotations.NotNull() In<? super Open>);// openClassArgument(Out<? extends Open>, In<? super Open>)
|
||||
|
||||
public final void outIn(@org.jetbrains.annotations.NotNull() Out<? extends In<? super Final>>);// outIn(Out<? extends In<? super Final>>)
|
||||
|
||||
public final void outInAny(@org.jetbrains.annotations.NotNull() Out<In<java.lang.Object>>);// outInAny(Out<In<java.lang.Object>>)
|
||||
|
||||
public final void outOfArrayOpen(@org.jetbrains.annotations.NotNull() Out<Open[]>);// outOfArrayOpen(Out<Open[]>)
|
||||
|
||||
public final void outOfArrayOutOpen(@org.jetbrains.annotations.NotNull() Out<? extends Open[]>);// outOfArrayOutOpen(Out<? extends Open[]>)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public final class CoroutinesKt /* CoroutinesKt*/ {
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public static final java.lang.Object doSomething(@org.jetbrains.annotations.NotNull() java.lang.String, @org.jetbrains.annotations.NotNull() kotlin.coroutines.Continuation<? super java.lang.Integer>);// doSomething(java.lang.String, kotlin.coroutines.Continuation<? super java.lang.Integer>)
|
||||
|
||||
public static final <T> void async(@org.jetbrains.annotations.NotNull() kotlin.jvm.functions.Function1<? super kotlin.coroutines.Continuation<? super T>, ? extends java.lang.Object>);// <T> async(kotlin.jvm.functions.Function1<? super kotlin.coroutines.Continuation<? super T>, ? extends java.lang.Object>)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class ImportAliasesKt /* ImportAliasesKt*/ {
|
||||
public static final void foo();// foo()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public final class InlineOnlyKt /* InlineOnlyKt*/ {
|
||||
@kotlin.internal.InlineOnly()
|
||||
private static final void foo();// foo()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public final class JvmFieldKt /* JvmFieldKt*/ {
|
||||
@kotlin.jvm.JvmField()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.util.Collection<?> a;
|
||||
|
||||
@kotlin.jvm.JvmField()
|
||||
public static int b;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
public final class JvmNameKt /* JvmNameKt*/ {
|
||||
@kotlin.jvm.JvmName(name = "fooInt")
|
||||
public static final void fooInt(@org.jetbrains.annotations.NotNull() java.util.List<java.lang.Integer>);// fooInt(java.util.List<java.lang.Integer>)
|
||||
|
||||
@kotlin.jvm.JvmName(name = "get_rwProp")
|
||||
public static final int get_rwProp();// get_rwProp()
|
||||
|
||||
@kotlin.jvm.JvmName(name = "hasBigArity")
|
||||
public static final boolean hasBigArity();// hasBigArity()
|
||||
|
||||
@kotlin.jvm.JvmName(name = "set_rwProp")
|
||||
public static final void set_rwProp(int);// set_rwProp(int)
|
||||
|
||||
@kotlin.jvm.JvmName(name = "xyz1")
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String xyz1();// xyz1()
|
||||
|
||||
@kotlin.jvm.JvmName(name = "xyz2")
|
||||
public static final void xyz2(@org.jetbrains.annotations.NotNull() java.lang.String);// xyz2(java.lang.String)
|
||||
|
||||
public static final int getRwProp();// getRwProp()
|
||||
|
||||
public static final void foo(@org.jetbrains.annotations.NotNull() java.util.List<java.lang.String>);// foo(java.util.List<java.lang.String>)
|
||||
|
||||
public static final void setRwProp(int);// setRwProp(int)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
public final class JvmWildcardAnnotationsKt /* JvmWildcardAnnotationsKt*/ {
|
||||
@kotlin.jvm.JvmSuppressWildcards(suppress = false)
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final Out<? extends Open> bar();// bar()
|
||||
|
||||
@kotlin.jvm.JvmSuppressWildcards(suppress = false)
|
||||
public static final int foo(boolean, @org.jetbrains.annotations.NotNull() Out<? extends java.lang.Integer>);// foo(boolean, Out<? extends java.lang.Integer>)
|
||||
|
||||
@kotlin.jvm.JvmSuppressWildcards(suppress = true)
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final In<Open> foo3();// foo3()
|
||||
|
||||
@kotlin.jvm.JvmSuppressWildcards(suppress = true)
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final Out<error.NonExistentClass> foo2();// foo2()
|
||||
|
||||
@kotlin.jvm.JvmSuppressWildcards(suppress = true)
|
||||
public static final int bar(boolean, @org.jetbrains.annotations.NotNull() In<java.lang.Long>, long);// bar(boolean, In<java.lang.Long>, long)
|
||||
|
||||
@kotlin.jvm.JvmSuppressWildcards(suppress = true)
|
||||
public static final void deepOpen(@org.jetbrains.annotations.NotNull() Out<Out<Out<Open>>>);// deepOpen(Out<Out<Out<Open>>>)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final OutPair<? extends Final, OutPair<Out<Final>, Out<? extends Final>>> falseTrueFalse();// falseTrueFalse()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final OutPair<Open, ? extends OutPair<Open,? extends Out<Open>>> combination();// combination()
|
||||
|
||||
public static final void simpleIn(@org.jetbrains.annotations.NotNull() In<? super java.lang.Object>);// simpleIn(In<? super java.lang.Object>)
|
||||
|
||||
public static final void simpleOut(@org.jetbrains.annotations.NotNull() Out<? extends Final>);// simpleOut(Out<? extends Final>)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
public final class LateinitPropertyKt /* LateinitPropertyKt*/ {
|
||||
private static java.lang.String b;
|
||||
|
||||
protected static java.lang.String c;
|
||||
|
||||
public static java.lang.String a;
|
||||
|
||||
public static java.lang.String d;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getA();// getA()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getB();// getB()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getC();// getC()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getD();// getD()
|
||||
|
||||
protected static final void setC(@org.jetbrains.annotations.NotNull() java.lang.String);// setC(java.lang.String)
|
||||
|
||||
public static final void setA(@org.jetbrains.annotations.NotNull() java.lang.String);// setA(java.lang.String)
|
||||
|
||||
public static final void setD(@org.jetbrains.annotations.NotNull() java.lang.String);// setD(java.lang.String)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
public final class multifileFacade /* multifileFacade*/ {
|
||||
public static final int x1 = 42 /* initializer type: int */ /* constant value 42 */;
|
||||
|
||||
public static final int y1 = 42 /* initializer type: int */ /* constant value 42 */;
|
||||
|
||||
public static final int bar();// bar()
|
||||
|
||||
public static final int foo();// foo()
|
||||
|
||||
public static final int getX();// getX()
|
||||
|
||||
public static final int getY();// getY()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public final class multifileFacade /* multifileFacade*/ {
|
||||
public static final int foo();// foo()
|
||||
|
||||
}
|
||||
|
||||
public final class otherMultifileFacade /* otherMultifileFacade*/ {
|
||||
public static final int bar();// bar()
|
||||
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
@file:JvmMultifileClass
|
||||
@file:JvmName("multifileFacade")
|
||||
|
||||
fun foo() = 42
|
||||
fun foo() = 42
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -0,0 +1,175 @@
|
||||
public final class PropertiesKt /* PropertiesKt*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static final java.lang.Object arrayConst;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static final java.lang.String x;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static final kotlin.jvm.functions.Function1<java.lang.Integer, java.lang.Integer> sum;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static java.lang.String name;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static java.lang.String protectedWithPrivateSet;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private static java.lang.String x$1;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String SUBSYSTEM_DEPRECATED = "This subsystem is deprecated" /* initializer type: java.lang.String */ /* constant value This subsystem is deprecated */;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private static java.lang.Boolean isEmptyMutable;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private static java.lang.Boolean islowercase;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private static java.lang.Integer getInt;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private static java.lang.Integer isEmptyInt;
|
||||
|
||||
private static final error.NonExistentClass delegatedProp$delegate;
|
||||
|
||||
private static final error.NonExistentClass delegatedProp2$delegate;
|
||||
|
||||
private static final error.NonExistentClass lazyProp$delegate;
|
||||
|
||||
private static final int f1;
|
||||
|
||||
private static final int plainField;
|
||||
|
||||
private static final int privateVal;
|
||||
|
||||
private static final int privateVar;
|
||||
|
||||
private static final java.lang.Void intConst;
|
||||
|
||||
private static int counter;
|
||||
|
||||
private static int f2;
|
||||
|
||||
private static int int1;
|
||||
|
||||
private static int int2;
|
||||
|
||||
private static int internalWithPrivateSet;
|
||||
|
||||
private static java.lang.String internalVarPrivateSet;
|
||||
|
||||
protected static java.lang.String protectedLateinitVar;
|
||||
|
||||
public static error.NonExistentClass subject;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
protected static final java.lang.String getProtectedLateinitVar();// getProtectedLateinitVar()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
protected static final java.lang.String getProtectedWithPrivateSet();// getProtectedWithPrivateSet()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.Object getArrayConst();// getArrayConst()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getDelegatedProp();// getDelegatedProp()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getInternalVarPrivateSet();// getInternalVarPrivateSet()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getLazyProp();// getLazyProp()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getName();// getName()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getStringRepresentation();// getStringRepresentation()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getX();// getX()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String getX();// getX()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final kotlin.jvm.functions.Function1<java.lang.Integer, java.lang.Integer> getSum();// getSum()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public static final java.lang.Boolean getIslowercase();// getIslowercase()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public static final java.lang.Boolean isEmptyMutable();// isEmptyMutable()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public static final java.lang.Integer getCounter2();// getCounter2()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public static final java.lang.Integer getGetInt();// getGetInt()
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public static final java.lang.Integer isEmptyInt();// isEmptyInt()
|
||||
|
||||
private static final int privateFun();// privateFun()
|
||||
|
||||
protected static final int getF2();// getF2()
|
||||
|
||||
protected static final int getInt1();// getInt1()
|
||||
|
||||
protected static final void setF2(int);// setF2(int)
|
||||
|
||||
protected static final void setProtectedLateinitVar(@org.jetbrains.annotations.NotNull() java.lang.String);// setProtectedLateinitVar(java.lang.String)
|
||||
|
||||
public static final boolean isEmpty();// isEmpty()
|
||||
|
||||
public static final error.NonExistentClass getDelegatedProp2();// getDelegatedProp2()
|
||||
|
||||
public static final error.NonExistentClass getSubject();// getSubject()
|
||||
|
||||
public static final int getCounter();// getCounter()
|
||||
|
||||
public static final int getF1();// getF1()
|
||||
|
||||
public static final int getInt2();// getInt2()
|
||||
|
||||
public static final int getIntProp(int);// getIntProp(int)
|
||||
|
||||
public static final int getInternalWithPrivateSet();// getInternalWithPrivateSet()
|
||||
|
||||
public static final int getPlainField();// getPlainField()
|
||||
|
||||
public static final int getValue(error.NonExistentClass, @org.jetbrains.annotations.NotNull() kotlin.reflect.KProperty<?>);// getValue(error.NonExistentClass, kotlin.reflect.KProperty<?>)
|
||||
|
||||
public static final java.lang.Void getIntConst();// getIntConst()
|
||||
|
||||
public static final void setCounter(int);// setCounter(int)
|
||||
|
||||
public static final void setCounter2(@org.jetbrains.annotations.Nullable() java.lang.Integer);// setCounter2(java.lang.Integer)
|
||||
|
||||
public static final void setDelegatedProp(@org.jetbrains.annotations.NotNull() java.lang.String);// setDelegatedProp(java.lang.String)
|
||||
|
||||
public static final void setDelegatedProp2(error.NonExistentClass);// setDelegatedProp2(error.NonExistentClass)
|
||||
|
||||
public static final void setEmptyInt(@org.jetbrains.annotations.Nullable() java.lang.Integer);// setEmptyInt(java.lang.Integer)
|
||||
|
||||
public static final void setEmptyMutable(@org.jetbrains.annotations.Nullable() java.lang.Boolean);// setEmptyMutable(java.lang.Boolean)
|
||||
|
||||
public static final void setGetInt(@org.jetbrains.annotations.Nullable() java.lang.Integer);// setGetInt(java.lang.Integer)
|
||||
|
||||
public static final void setInt2(int);// setInt2(int)
|
||||
|
||||
public static final void setIslowercase(@org.jetbrains.annotations.Nullable() java.lang.Boolean);// setIslowercase(java.lang.Boolean)
|
||||
|
||||
public static final void setLazyProp(@org.jetbrains.annotations.NotNull() java.lang.String);// setLazyProp(java.lang.String)
|
||||
|
||||
public static final void setName(@org.jetbrains.annotations.NotNull() java.lang.String);// setName(java.lang.String)
|
||||
|
||||
public static final void setStringRepresentation(@org.jetbrains.annotations.NotNull() java.lang.String);// setStringRepresentation(java.lang.String)
|
||||
|
||||
public static final void setSubject(error.NonExistentClass);// setSubject(error.NonExistentClass)
|
||||
|
||||
public static final void setValue(error.NonExistentClass, @org.jetbrains.annotations.NotNull() kotlin.reflect.KProperty<?>, int);// setValue(error.NonExistentClass, kotlin.reflect.KProperty<?>, int)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
public final class SimpleFunctionsKt /* SimpleFunctionsKt*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final native java.lang.String externalFun(int);// externalFun(int)
|
||||
|
||||
private static final /* vararg */ java.lang.String bar3(error.NonExistentClass, error.NonExistentClass...);// bar3(error.NonExistentClass, error.NonExistentClass[])
|
||||
|
||||
public static final /* vararg */ void nullableVararg(@org.jetbrains.annotations.Nullable() java.lang.Object...);// nullableVararg(java.lang.Object[])
|
||||
|
||||
public static final error.NonExistentClass onString(@org.jetbrains.annotations.NotNull() java.lang.String, @org.jetbrains.annotations.NotNull() kotlin.jvm.functions.Function1<? super java.lang.Integer, ? extends java.lang.Object>);// onString(java.lang.String, kotlin.jvm.functions.Function1<? super java.lang.Integer, ? extends java.lang.Object>)
|
||||
|
||||
public static final error.NonExistentClass plus(int);// plus(int)
|
||||
|
||||
public static final int bar4();// bar4()
|
||||
|
||||
public static final void bar2(error.NonExistentClass, error.NonExistentClass);// bar2(error.NonExistentClass, error.NonExistentClass)
|
||||
|
||||
public static void bar(int, @org.jetbrains.annotations.NotNull() java.lang.Object, error.NonExistentClass);// bar(int, java.lang.Object, error.NonExistentClass)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public final class ThrowsAnnotationKt /* ThrowsAnnotationKt*/ {
|
||||
@kotlin.jvm.Throws(exceptionClasses = {java.io.IOException::class, MyException::class})
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final java.lang.String readFile(@org.jetbrains.annotations.NotNull() java.lang.String) throws java.io.IOException, MyException;// readFile(java.lang.String)
|
||||
|
||||
@kotlin.jvm.Throws(exceptionClasses = {kotlin.Throwable::class})
|
||||
public static final void baz() throws java.lang.Throwable;// baz()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
public final class WildcardOptimizationKt /* WildcardOptimizationKt*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final In<Final> notDeepIn();// notDeepIn()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final Inv<? super Out<? extends Open>> skipWildcardsUntilInProjection();// skipWildcardsUntilInProjection()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final Inv<In<Out<? extends Open>>> skipAllInvWildcards();// skipAllInvWildcards()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final Inv<OutPair<Open, Out<Out<Open>>>> skipAllOutInvWildcards();// skipAllOutInvWildcards()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final Out<In<Out<? extends Open>>> skipWildcardsUntilIn0();// skipWildcardsUntilIn0()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final Out<In<Out<Final>>> skipWildcardsUntilIn1();// skipWildcardsUntilIn1()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final Out<In<OutPair<Final, ? extends Out<? extends Open>>>> skipWildcardsUntilIn2();// skipWildcardsUntilIn2()
|
||||
|
||||
public static final <Q extends Final> void typeParameter(@org.jetbrains.annotations.NotNull() Out<? extends Q>, @org.jetbrains.annotations.NotNull() In<? super Q>);// <Q extends Final> typeParameter(Out<? extends Q>, In<? super Q>)
|
||||
|
||||
public static final void arrayOfOutFinal(@org.jetbrains.annotations.NotNull() Out<Final>[]);// arrayOfOutFinal(Out<Final>[])
|
||||
|
||||
public static final void arrayOfOutOpen(@org.jetbrains.annotations.NotNull() Out<Open>[]);// arrayOfOutOpen(Out<Open>[])
|
||||
|
||||
public static final void deepFinal(@org.jetbrains.annotations.NotNull() Out<Out<Out<Final>>>);// deepFinal(Out<Out<Out<Final>>>)
|
||||
|
||||
public static final void deepOpen(@org.jetbrains.annotations.NotNull() Out<? extends Out<? extends Out<? extends Open>>>);// deepOpen(Out<? extends Out<? extends Out<? extends Open>>>)
|
||||
|
||||
public static final void finalClassArgument(@org.jetbrains.annotations.NotNull() Out<Final>, @org.jetbrains.annotations.NotNull() In<? super Final>);// finalClassArgument(Out<Final>, In<? super Final>)
|
||||
|
||||
public static final void inAny(@org.jetbrains.annotations.NotNull() In<java.lang.Object>);// inAny(In<java.lang.Object>)
|
||||
|
||||
public static final void inFinal(@org.jetbrains.annotations.NotNull() In<? super Final>);// inFinal(In<? super Final>)
|
||||
|
||||
public static final void inOutFinal(@org.jetbrains.annotations.NotNull() In<? super Out<Final>>);// inOutFinal(In<? super Out<Final>>)
|
||||
|
||||
public static final void invFinal(@org.jetbrains.annotations.NotNull() Inv<Final>);// invFinal(Inv<Final>)
|
||||
|
||||
public static final void invIn(@org.jetbrains.annotations.NotNull() Out<? extends Inv<? super Final>>);// invIn(Out<? extends Inv<? super Final>>)
|
||||
|
||||
public static final void invInAny(@org.jetbrains.annotations.NotNull() Out<Inv<? super java.lang.Object>>);// invInAny(Out<Inv<? super java.lang.Object>>)
|
||||
|
||||
public static final void invInOutFinal(@org.jetbrains.annotations.NotNull() Inv<In<Out<Final>>>);// invInOutFinal(Inv<In<Out<Final>>>)
|
||||
|
||||
public static final void invInOutOpen(@org.jetbrains.annotations.NotNull() Inv<In<Out<? extends Open>>>);// invInOutOpen(Inv<In<Out<? extends Open>>>)
|
||||
|
||||
public static final void invInv(@org.jetbrains.annotations.NotNull() Out<Inv<Open>>);// invInv(Out<Inv<Open>>)
|
||||
|
||||
public static final void invOpen(@org.jetbrains.annotations.NotNull() Inv<Open>);// invOpen(Inv<Open>)
|
||||
|
||||
public static final void invOut(@org.jetbrains.annotations.NotNull() Out<? extends Inv<? extends Open>>);// invOut(Out<? extends Inv<? extends Open>>)
|
||||
|
||||
public static final void invOutFinal(@org.jetbrains.annotations.NotNull() Inv<Out<Final>>);// invOutFinal(Inv<Out<Final>>)
|
||||
|
||||
public static final void invOutFinal(@org.jetbrains.annotations.NotNull() Out<Inv<? extends Final>>);// invOutFinal(Out<Inv<? extends Final>>)
|
||||
|
||||
public static final void invOutOpen(@org.jetbrains.annotations.NotNull() Inv<Out<Open>>);// invOutOpen(Inv<Out<Open>>)
|
||||
|
||||
public static final void invOutProjectedOutFinal(@org.jetbrains.annotations.NotNull() Inv<? extends Out<Final>>);// invOutProjectedOutFinal(Inv<? extends Out<Final>>)
|
||||
|
||||
public static final void oneArgumentFinal(@org.jetbrains.annotations.NotNull() OutPair<Final, ? extends Open>);// oneArgumentFinal(OutPair<Final, ? extends Open>)
|
||||
|
||||
public static final void openClassArgument(@org.jetbrains.annotations.NotNull() Out<? extends Open>, @org.jetbrains.annotations.NotNull() In<? super Open>);// openClassArgument(Out<? extends Open>, In<? super Open>)
|
||||
|
||||
public static final void outIn(@org.jetbrains.annotations.NotNull() Out<? extends In<? super Final>>);// outIn(Out<? extends In<? super Final>>)
|
||||
|
||||
public static final void outInAny(@org.jetbrains.annotations.NotNull() Out<In<java.lang.Object>>);// outInAny(Out<In<java.lang.Object>>)
|
||||
|
||||
public static final void outOfArrayOpen(@org.jetbrains.annotations.NotNull() Out<Open[]>);// outOfArrayOpen(Out<Open[]>)
|
||||
|
||||
public static final void outOfArrayOutOpen(@org.jetbrains.annotations.NotNull() Out<? extends Open[]>);// outOfArrayOutOpen(Out<? extends Open[]>)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user