[LC] rename lightClasses/lightClasses to lightClasses/lightClassByFqName
This commit is contained in:
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
public enum AnnotatedParameterInEnumConstructor /* test.AnnotatedParameterInEnumConstructor*/ {
|
||||
A;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static test.AnnotatedParameterInEnumConstructor valueOf(java.lang.String) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;// valueOf(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static test.AnnotatedParameterInEnumConstructor[] values();// values()
|
||||
|
||||
private AnnotatedParameterInEnumConstructor(@test.Anno(x = "a") java.lang.String, @test.Anno(x = "b") java.lang.String);// .ctor(java.lang.String, java.lang.String)
|
||||
|
||||
}
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
// test.AnnotatedParameterInEnumConstructor
|
||||
package test
|
||||
|
||||
annotation class Anno(val x: String)
|
||||
|
||||
enum class AnnotatedParameterInEnumConstructor(@Anno("a") a: String, @Anno("b") b: String) {
|
||||
A("1", "b")
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
public final class AnnotatedParameterInInnerClassConstructor /* test.AnnotatedParameterInInnerClassConstructor*/ {
|
||||
public AnnotatedParameterInInnerClassConstructor();// .ctor()
|
||||
|
||||
|
||||
|
||||
public final class Inner /* test.AnnotatedParameterInInnerClassConstructor.Inner*/ {
|
||||
public Inner(@org.jetbrains.annotations.NotNull() @test.Anno(x = "a") java.lang.String, @org.jetbrains.annotations.NotNull() @test.Anno(x = "b") java.lang.String);// .ctor(java.lang.String, java.lang.String)
|
||||
|
||||
}public final class InnerGeneric /* test.AnnotatedParameterInInnerClassConstructor.InnerGeneric*/<T> {
|
||||
public InnerGeneric(@test.Anno(x = "a") T, @org.jetbrains.annotations.NotNull() @test.Anno(x = "b") java.lang.String);// .ctor(T, java.lang.String)
|
||||
|
||||
}}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
// test.AnnotatedParameterInInnerClassConstructor
|
||||
package test
|
||||
|
||||
annotation class Anno(val x: String)
|
||||
|
||||
class AnnotatedParameterInInnerClassConstructor {
|
||||
|
||||
inner class Inner(@Anno("a") a: String, @Anno("b") b: String) {
|
||||
|
||||
}
|
||||
|
||||
inner class InnerGeneric<T>(@Anno("a") a: T, @Anno("b") b: String) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
public final class Test /* Test*/ {
|
||||
@MyAnnotation5()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private java.lang.String bar;
|
||||
|
||||
@MyAnnotation()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getBar();// getBar()
|
||||
|
||||
@MyAnnotation2()
|
||||
public final void setBar(@MyAnnotation3() @org.jetbrains.annotations.NotNull() java.lang.String);// setBar(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final kotlin.Unit getFooP(@MyAnnotation7() @org.jetbrains.annotations.NotNull() int);// getFooP(int)
|
||||
|
||||
public Test(@MyAnnotation6() @org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String)
|
||||
|
||||
public final void fooF(@MyAnnotation7() @org.jetbrains.annotations.NotNull() int);// fooF(int)
|
||||
|
||||
public final void fooWithNullableReceiver(@MyAnnotation7() @org.jetbrains.annotations.Nullable() java.lang.Integer, long);// fooWithNullableReceiver(java.lang.Integer, long)
|
||||
|
||||
public final void setFooP(@MyAnnotation7() @org.jetbrains.annotations.NotNull() int, @org.jetbrains.annotations.NotNull() kotlin.Unit);// setFooP(int, kotlin.Unit)
|
||||
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
public final class Test /* Test*/ {
|
||||
@MyAnnotation5()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private java.lang.String bar;
|
||||
|
||||
@MyAnnotation()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getBar();// getBar()
|
||||
|
||||
@MyAnnotation2()
|
||||
public final void setBar(@MyAnnotation3() @org.jetbrains.annotations.NotNull() java.lang.String);// setBar(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final kotlin.Unit getFooP(@MyAnnotation7() int);// getFooP(int)
|
||||
|
||||
public Test(@MyAnnotation6() @org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String)
|
||||
|
||||
public final void fooF(@MyAnnotation7() int);// fooF(int)
|
||||
|
||||
public final void fooWithNullableReceiver(@MyAnnotation7() @org.jetbrains.annotations.Nullable() java.lang.Integer, long);// fooWithNullableReceiver(java.lang.Integer, long)
|
||||
|
||||
public final void setFooP(@MyAnnotation7() int, @org.jetbrains.annotations.NotNull() kotlin.Unit);// setFooP(int, kotlin.Unit)
|
||||
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
// Test
|
||||
annotation class MyAnnotation
|
||||
annotation class MyAnnotation2
|
||||
annotation class MyAnnotation3
|
||||
annotation class MyAnnotation4
|
||||
annotation class MyAnnotation5
|
||||
annotation class MyAnnotation6
|
||||
@Target(AnnotationTarget.VALUE_PARAMETER)
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class MyAnnotation7
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
annotation class MyAnnotation8
|
||||
|
||||
class Test(@get:MyAnnotation @set:MyAnnotation2 @setparam:MyAnnotation3 @property:MyAnnotation4 @field:MyAnnotation5 @param:MyAnnotation6 var bar: String) {
|
||||
fun @receiver:MyAnnotation7 @MyAnnotation8 Int.fooF() = Unit
|
||||
fun @receiver:MyAnnotation7 @MyAnnotation8 Int?.fooWithNullableReceiver(l: Long) = Unit
|
||||
var @receiver:MyAnnotation7 @MyAnnotation8 Int.fooP
|
||||
get() = Unit
|
||||
set(value) {}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Anno /* Anno*/ {
|
||||
public abstract double d();// d()
|
||||
|
||||
public abstract int i();// i()
|
||||
|
||||
public abstract int j();// j()
|
||||
|
||||
public abstract int[] ia();// ia()
|
||||
|
||||
public abstract int[] ia2();// ia2()
|
||||
|
||||
public abstract java.lang.String value();// value()
|
||||
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Anno /* Anno*/ {
|
||||
public abstract double d() default 0.0;// d()
|
||||
|
||||
public abstract int i();// i()
|
||||
|
||||
public abstract int j() default 5;// j()
|
||||
|
||||
public abstract int[] ia();// ia()
|
||||
|
||||
public abstract int[] ia2() default {1, 2, 3};// ia2()
|
||||
|
||||
public abstract java.lang.String value() default "a";// value()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// Anno
|
||||
// IGNORE_FIR
|
||||
// Ignored due to KT-53573
|
||||
|
||||
annotation class Anno(
|
||||
val i: Int,
|
||||
val j: Int = 5,
|
||||
val value: String = "a",
|
||||
val d: Double = 0.0,
|
||||
val ia: IntArray,
|
||||
val ia2: IntArray = intArrayOf(1, 2, 3)
|
||||
)
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
@java.lang.annotation.Repeatable(value = TwoContainer.class)
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Two /* Two*/ {
|
||||
public abstract java.lang.String name();// name()
|
||||
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// Two
|
||||
// FULL_JDK
|
||||
|
||||
@java.lang.annotation.Repeatable(TwoContainer::class)
|
||||
annotation class Two(val name: String)
|
||||
annotation class TwoContainer(val value: Array<Two>)
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
@java.lang.annotation.Repeatable(value = TwoContainer.class)
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Two /* Two*/ {
|
||||
public abstract java.lang.String name();// name()
|
||||
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// Two
|
||||
// WITH_STDLIB
|
||||
// STDLIB_JDK8
|
||||
// FULL_JDK
|
||||
|
||||
@JvmRepeatable(TwoContainer::class)
|
||||
annotation class Two(val name: String)
|
||||
annotation class TwoContainer(val value: Array<Two>)
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
@java.lang.annotation.Repeatable(value = TwoContainer.class)
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
@kotlin.annotation.Repeatable()
|
||||
public abstract @interface Two /* Two*/ {
|
||||
public abstract java.lang.String name();// name()
|
||||
|
||||
}
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
// Two
|
||||
// WITH_STDLIB
|
||||
// STDLIB_JDK8
|
||||
// FULL_JDK
|
||||
|
||||
import java.lang.annotation.Repeatable as JvmRepeatable
|
||||
|
||||
@Repeatable
|
||||
@JvmRepeatable(TwoContainer::class)
|
||||
annotation class Two(val name: String)
|
||||
annotation class TwoContainer(val value: Array<Two>)
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
@java.lang.annotation.Repeatable(value = TwoContainer.class)
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
@kotlin.annotation.Repeatable()
|
||||
public abstract @interface Two /* Two*/ {
|
||||
public abstract java.lang.String name();// name()
|
||||
|
||||
}
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// Two
|
||||
// WITH_STDLIB
|
||||
// STDLIB_JDK8
|
||||
// FULL_JDK
|
||||
|
||||
@Repeatable
|
||||
@JvmRepeatable(TwoContainer::class)
|
||||
annotation class Two(val name: String)
|
||||
annotation class TwoContainer(val value: Array<Two>)
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
@java.lang.annotation.Repeatable(value = simple.One.Container.class)
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
@kotlin.annotation.Repeatable()
|
||||
public abstract @interface One /* simple.One*/ {
|
||||
public abstract java.lang.String value();// value()
|
||||
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
@kotlin.jvm.internal.RepeatableContainer()
|
||||
public static abstract @interface Container /* simple.One.Container*/ {
|
||||
public abstract simple.One[] value();// value()
|
||||
|
||||
}}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// simple.One
|
||||
// FULL_JDK
|
||||
|
||||
package simple
|
||||
|
||||
@Repeatable
|
||||
annotation class One(val value: String)
|
||||
@@ -0,0 +1,12 @@
|
||||
public final class Constructors /* Constructors*/ {
|
||||
private final int valInPrimary;
|
||||
|
||||
private Constructors();// .ctor()
|
||||
|
||||
public Constructors(@org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String)
|
||||
|
||||
public Constructors(int);// .ctor(int)
|
||||
|
||||
public final int getValInPrimary();// getValInPrimary()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// Constructors
|
||||
|
||||
class Constructors(val valInPrimary: Int) {
|
||||
constructor(parameterInSecondary: String): this(4)
|
||||
private constructor(): this(2)
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
+76
@@ -0,0 +1,76 @@
|
||||
public final class Wrapper /* p.Wrapper*/ {
|
||||
public Wrapper();// .ctor()
|
||||
|
||||
|
||||
|
||||
|
||||
public static final class Equals /* p.Wrapper.Equals*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final p.G code;
|
||||
|
||||
@java.lang.Override()
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable() java.lang.Object);// equals(java.lang.Object)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.G component1();// component1()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.G getCode();// getCode()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.Wrapper.Equals copy(@org.jetbrains.annotations.NotNull() p.G);// copy(p.G)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String toString();// toString()
|
||||
|
||||
public Equals(@org.jetbrains.annotations.NotNull() p.G);// .ctor(p.G)
|
||||
|
||||
public int hashCode();// hashCode()
|
||||
|
||||
}public static final class HashCode /* p.Wrapper.HashCode*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final p.G code;
|
||||
|
||||
@java.lang.Override()
|
||||
public int hashCode();// hashCode()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.G component1();// component1()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.G getCode();// getCode()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.Wrapper.HashCode copy(@org.jetbrains.annotations.NotNull() p.G);// copy(p.G)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String toString();// toString()
|
||||
|
||||
public HashCode(@org.jetbrains.annotations.NotNull() p.G);// .ctor(p.G)
|
||||
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable() java.lang.Object);// equals(java.lang.Object)
|
||||
|
||||
}public static final class ToString /* p.Wrapper.ToString*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final p.G code;
|
||||
|
||||
@java.lang.Override()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String toString();// toString()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.G component1();// component1()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.G getCode();// getCode()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.Wrapper.ToString copy(@org.jetbrains.annotations.NotNull() p.G);// copy(p.G)
|
||||
|
||||
public ToString(@org.jetbrains.annotations.NotNull() p.G);// .ctor(p.G)
|
||||
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable() java.lang.Object);// equals(java.lang.Object)
|
||||
|
||||
public int hashCode();// hashCode()
|
||||
|
||||
}}
|
||||
Vendored
+73
@@ -0,0 +1,73 @@
|
||||
public final class Wrapper /* p.Wrapper*/ {
|
||||
public Wrapper();// .ctor()
|
||||
|
||||
|
||||
|
||||
|
||||
public static final class Equals /* p.Wrapper.Equals*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final p.G code;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.G component1();// component1()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.G getCode();// getCode()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.Wrapper.Equals copy(@org.jetbrains.annotations.NotNull() p.G);// copy(p.G)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String toString();// toString()
|
||||
|
||||
public Equals(@org.jetbrains.annotations.NotNull() p.G);// .ctor(p.G)
|
||||
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable() java.lang.Object);// equals(java.lang.Object)
|
||||
|
||||
public int hashCode();// hashCode()
|
||||
|
||||
}public static final class HashCode /* p.Wrapper.HashCode*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final p.G code;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.G component1();// component1()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.G getCode();// getCode()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.Wrapper.HashCode copy(@org.jetbrains.annotations.NotNull() p.G);// copy(p.G)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String toString();// toString()
|
||||
|
||||
public HashCode(@org.jetbrains.annotations.NotNull() p.G);// .ctor(p.G)
|
||||
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable() java.lang.Object);// equals(java.lang.Object)
|
||||
|
||||
public int hashCode();// hashCode()
|
||||
|
||||
}public static final class ToString /* p.Wrapper.ToString*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final p.G code;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.G component1();// component1()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.G getCode();// getCode()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final p.Wrapper.ToString copy(@org.jetbrains.annotations.NotNull() p.G);// copy(p.G)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String toString();// toString()
|
||||
|
||||
public ToString(@org.jetbrains.annotations.NotNull() p.G);// .ctor(p.G)
|
||||
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable() java.lang.Object);// equals(java.lang.Object)
|
||||
|
||||
public int hashCode();// hashCode()
|
||||
|
||||
}}
|
||||
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
// p.Wrapper
|
||||
package p
|
||||
|
||||
class Wrapper {
|
||||
data class Equals(val code: G) {
|
||||
override fun equals(other: Any?): Boolean = true
|
||||
}
|
||||
|
||||
data class HashCode(val code: G) {
|
||||
override fun hashCode() = 3
|
||||
}
|
||||
|
||||
data class ToString(val code: G) {
|
||||
override fun toString() = "b"
|
||||
}
|
||||
}
|
||||
|
||||
class G
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
public final class B /* p.B*/ {
|
||||
public B();// .ctor()
|
||||
|
||||
|
||||
public static final class A /* p.B.A*/ implements p.I {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final p.I f;
|
||||
|
||||
@java.lang.Override()
|
||||
public void f();// f()
|
||||
|
||||
@java.lang.Override()
|
||||
public void g();// g()
|
||||
|
||||
public A(@org.jetbrains.annotations.NotNull() p.I);// .ctor(p.I)
|
||||
|
||||
}}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
public final class B /* p.B*/ {
|
||||
public B();// .ctor()
|
||||
|
||||
|
||||
public static final class A /* p.B.A*/ implements p.I {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final p.I f;
|
||||
|
||||
public A(@org.jetbrains.annotations.NotNull() p.I);// .ctor(p.I)
|
||||
|
||||
public void f();// f()
|
||||
|
||||
public void g();// g()
|
||||
|
||||
}}
|
||||
@@ -0,0 +1,13 @@
|
||||
// p.B
|
||||
package p
|
||||
|
||||
class B {
|
||||
class A(private val f: I) : I by f {
|
||||
}
|
||||
}
|
||||
|
||||
interface I {
|
||||
fun g()
|
||||
|
||||
fun f()
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
public final class B /* p.B*/ implements p.I {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final p.I f;
|
||||
|
||||
@java.lang.Override()
|
||||
public void f();// f()
|
||||
|
||||
@java.lang.Override()
|
||||
public void g();// g()
|
||||
|
||||
public B(@org.jetbrains.annotations.NotNull() p.I);// .ctor(p.I)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public final class B /* p.B*/ implements p.I {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final p.I f;
|
||||
|
||||
public B(@org.jetbrains.annotations.NotNull() p.I);// .ctor(p.I)
|
||||
|
||||
public void f();// f()
|
||||
|
||||
public void g();// g()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// p.B
|
||||
package p
|
||||
|
||||
class B(private val f: I) : I by f {
|
||||
}
|
||||
|
||||
interface I {
|
||||
fun g()
|
||||
|
||||
fun f()
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
public enum E /* p.E*/ {
|
||||
@kotlin.Deprecated(message = "a") Entry1,
|
||||
Entry2,
|
||||
@kotlin.Deprecated(message = "b") Entry3;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static p.E valueOf(java.lang.String) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;// valueOf(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static p.E[] values();// values()
|
||||
|
||||
private E();// .ctor()
|
||||
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
// p.E
|
||||
// test for KT-8874
|
||||
|
||||
package p
|
||||
|
||||
enum class E {
|
||||
@Deprecated("a")
|
||||
Entry1,
|
||||
Entry2,
|
||||
@Deprecated("b")
|
||||
Entry3
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
public final class A /* a.A*/ {
|
||||
@kotlin.Deprecated(message = "f")
|
||||
public final void f();// f()
|
||||
|
||||
public A();// .ctor()
|
||||
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// a.A
|
||||
package a
|
||||
|
||||
class A {
|
||||
@Deprecated("f")
|
||||
fun f() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -0,0 +1,16 @@
|
||||
public final class A$B /* c.b.a.A$B*/ {
|
||||
public A$B();// .ctor()
|
||||
|
||||
|
||||
|
||||
public final class C$D /* c.b.a.A$B.C$D*/ {
|
||||
public C$D();// .ctor()
|
||||
|
||||
}public static final class $$$$$$$ /* c.b.a.A$B.$$$$$$$*/ {
|
||||
public $$$$$$$();// .ctor()
|
||||
|
||||
|
||||
public final class G$G$ /* c.b.a.A$B.$$$$$$$.G$G$*/ {
|
||||
public G$G$();// .ctor()
|
||||
|
||||
}}}
|
||||
@@ -0,0 +1,12 @@
|
||||
// c.b.a.A$B
|
||||
package c.b.a
|
||||
|
||||
class `A$B` {
|
||||
inner class `C$D`
|
||||
|
||||
class `$$$$$$$` {
|
||||
inner class `G$G$`
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
public final class A$B /* A$B*/ {
|
||||
public A$B();// .ctor()
|
||||
|
||||
|
||||
|
||||
public final class C$D /* A$B.C$D*/ {
|
||||
public C$D();// .ctor()
|
||||
|
||||
}public static final class $$$$$$$ /* A$B.$$$$$$$*/ {
|
||||
public $$$$$$$();// .ctor()
|
||||
|
||||
|
||||
public final class G$G$ /* A$B.$$$$$$$.G$G$*/ {
|
||||
public G$G$();// .ctor()
|
||||
|
||||
}}}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// A$B
|
||||
class `A$B` {
|
||||
inner class `C$D`
|
||||
|
||||
class `$$$$$$$` {
|
||||
inner class `G$G$`
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -0,0 +1,14 @@
|
||||
public enum MyEnumClass /* one.MyEnumClass*/ {
|
||||
Entry;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static one.MyEnumClass valueOf(java.lang.String) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;// valueOf(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static one.MyEnumClass[] values();// values()
|
||||
|
||||
private MyEnumClass();// .ctor()
|
||||
|
||||
public final int foo();// foo()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// one.MyEnumClass
|
||||
|
||||
package one
|
||||
|
||||
enum class MyEnumClass {
|
||||
Entry;
|
||||
|
||||
fun foo(): Int = 0
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
public enum MyEnumClass /* one.MyEnumClass*/ {
|
||||
Entry;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static kotlin.enums.EnumEntries<one.MyEnumClass> getEntries();// getEntries()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static one.MyEnumClass valueOf(java.lang.String) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;// valueOf(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static one.MyEnumClass[] values();// values()
|
||||
|
||||
private MyEnumClass();// .ctor()
|
||||
|
||||
public final int doo();// doo()
|
||||
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
// one.MyEnumClass
|
||||
// !LANGUAGE: +EnumEntries
|
||||
// IDEA tests don't support !LANGUAGE directive:
|
||||
// COMPILER_ARGUMENTS: -XXLanguage:+EnumEntries
|
||||
|
||||
package one
|
||||
|
||||
enum class MyEnumClass {
|
||||
Entry;
|
||||
|
||||
fun doo(): Int = 0
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
// NOT_GENERATED
|
||||
@@ -0,0 +1,17 @@
|
||||
static final class FirstEntry /* p.KotlinEnum.FirstEntry*/ extends p.KotlinEnum {
|
||||
private final int firstEntryProp = 4 /* initializer type: int */;
|
||||
|
||||
private int variable = 1 /* initializer type: int */;
|
||||
|
||||
FirstEntry();// .ctor()
|
||||
|
||||
@java.lang.Override()
|
||||
public void abstractFun();// abstractFun()
|
||||
|
||||
public final int getFirstEntryProp();// getFirstEntryProp()
|
||||
|
||||
public final int getVariable();// getVariable()
|
||||
|
||||
public final void firstEntryFun();// firstEntryFun()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
public static final class FirstEntry /* p.KotlinEnum.FirstEntry*/ extends p.KotlinEnum {
|
||||
private final int firstEntryProp;
|
||||
|
||||
private int variable;
|
||||
|
||||
FirstEntry();// .ctor()
|
||||
|
||||
public final int getFirstEntryProp();// getFirstEntryProp()
|
||||
|
||||
public final int getVariable();// getVariable()
|
||||
|
||||
public final void firstEntryFun();// firstEntryFun()
|
||||
|
||||
public void abstractFun();// abstractFun()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// p.KotlinEnum.FirstEntry
|
||||
|
||||
package p
|
||||
|
||||
enum class KotlinEnum {
|
||||
FirstEntry {
|
||||
fun firstEntryFun() = Unit
|
||||
val firstEntryProp = 4
|
||||
var variable: Int = 1
|
||||
get() = 2
|
||||
private set
|
||||
|
||||
override fun abstractFun() {
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
},
|
||||
|
||||
SecondEntry {
|
||||
fun secondEntryFun() = 3
|
||||
val secondEntryProp = 2
|
||||
|
||||
override fun abstractFun() {
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
};
|
||||
|
||||
abstract fun abstractFun()
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
static final class FirstEntry /* p.KotlinEnum.FirstEntry*/ extends p.KotlinEnum {
|
||||
private final int firstEntryProp;
|
||||
|
||||
private int variable;
|
||||
|
||||
FirstEntry();// .ctor()
|
||||
|
||||
public final int getFirstEntryProp();// getFirstEntryProp()
|
||||
|
||||
public final int getVariable();// getVariable()
|
||||
|
||||
public final void firstEntryFun();// firstEntryFun()
|
||||
|
||||
public void abstractFun();// abstractFun()
|
||||
|
||||
}
|
||||
compiler/testData/asJava/lightClasses/lightClassByFqName/ExtendingInterfaceWithDefaultImpls.fir.java
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
public abstract interface C /* p.C*/ extends p.B {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract java.lang.String c();// c()
|
||||
|
||||
|
||||
public static final class DefaultImpls /* p.C.DefaultImpls*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String c();// c()
|
||||
|
||||
}}
|
||||
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
public abstract interface C /* p.C*/ extends p.B {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract java.lang.String c();// c()
|
||||
|
||||
|
||||
public static final class DefaultImpls /* p.C.DefaultImpls*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static java.lang.String a(@org.jetbrains.annotations.NotNull() p.C);// a(p.C)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static java.lang.String b(@org.jetbrains.annotations.NotNull() p.C);// b(p.C)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static java.lang.String c(@org.jetbrains.annotations.NotNull() p.C);// c(p.C)
|
||||
|
||||
}}
|
||||
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
// p.C
|
||||
package p
|
||||
|
||||
interface A {
|
||||
fun a() = "a"
|
||||
}
|
||||
|
||||
interface B: A {
|
||||
fun b() = "b"
|
||||
}
|
||||
|
||||
interface C : B {
|
||||
fun c() = "c"
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
public final class HiddenDeprecatedKt /* a.HiddenDeprecatedKt*/ {
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// a.HiddenDeprecatedKt
|
||||
package a
|
||||
|
||||
@Deprecated("f", level = DeprecationLevel.HIDDEN)
|
||||
fun f() {
|
||||
|
||||
}
|
||||
// FIR_COMPARISON
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class A /* a.A*/ {
|
||||
public A();// .ctor()
|
||||
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// a.A
|
||||
package a
|
||||
|
||||
class A {
|
||||
@Deprecated("f", level = DeprecationLevel.HIDDEN)
|
||||
fun f() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
public final class Inheritor /* p.Inheritor*/ implements p.I, p.I2 {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String bar();// bar()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String foo();// foo()
|
||||
|
||||
public Inheritor();// .ctor()
|
||||
|
||||
public final void f();// f()
|
||||
|
||||
public void g();// g()
|
||||
|
||||
}
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
public final class Inheritor /* p.Inheritor*/ implements p.I, p.I2 {
|
||||
@java.lang.Override()
|
||||
public void g();// g()
|
||||
|
||||
public Inheritor();// .ctor()
|
||||
|
||||
public final void f();// f()
|
||||
|
||||
}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
public final class Inheritor /* p.Inheritor*/ implements p.I, p.I2 {
|
||||
public Inheritor();// .ctor()
|
||||
|
||||
public final void f();// f()
|
||||
|
||||
public void g();// g()
|
||||
|
||||
}
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
// p.Inheritor
|
||||
package p
|
||||
|
||||
class Inheritor: I, I2 {
|
||||
|
||||
fun f() {
|
||||
|
||||
}
|
||||
|
||||
override fun g() {
|
||||
}
|
||||
}
|
||||
|
||||
interface I : I1 {
|
||||
fun g()
|
||||
}
|
||||
|
||||
interface I1 {
|
||||
fun foo() = "foo"
|
||||
}
|
||||
|
||||
interface I2 {
|
||||
fun bar() = "bar"
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
public final class Inheritor /* p.Inheritor*/ implements p.I, p.I2 {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String bar();// bar()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String foo();// foo()
|
||||
|
||||
public Inheritor();// .ctor()
|
||||
|
||||
public final void f();// f()
|
||||
|
||||
public void g();// g()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public final class InlineReified /* a.InlineReified*/ {
|
||||
public InlineReified();// .ctor()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// a.InlineReified
|
||||
package a
|
||||
|
||||
class InlineReified {
|
||||
inline fun <reified T> foo(x: Any): T = x as T
|
||||
|
||||
inline val <reified T> T.bar: T?
|
||||
get() = null as T?
|
||||
|
||||
var <reified T> T.x: String
|
||||
inline get() = toString()
|
||||
inline set(value) {}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -0,0 +1,4 @@
|
||||
public class AKotlin /* test.AKotlin*/ {
|
||||
public AKotlin();// .ctor()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
// test.AKotlin
|
||||
|
||||
// DISABLE_SEALED_INHERITOR_CALCULATOR
|
||||
|
||||
// FILE: AKotlin.kt
|
||||
package test
|
||||
import test.BJava.FOO
|
||||
|
||||
open class AKotlin
|
||||
|
||||
// FILE: test/BJava.java
|
||||
package test;
|
||||
|
||||
public class BJava extends AKotlin {
|
||||
public final static String FOO = "foo";
|
||||
}
|
||||
|
||||
// FILE: CKotlin.kt
|
||||
package test
|
||||
|
||||
class CKotlin: BJava()
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
public final class C /* C*/ {
|
||||
@kotlin.jvm.JvmName(name = "myFun")
|
||||
public final void myFun(@org.jetbrains.annotations.NotNull() C);// myFun(C)
|
||||
|
||||
@kotlin.jvm.JvmName(name = "myFun")
|
||||
public final void myFun(@org.jetbrains.annotations.NotNull() C, @org.jetbrains.annotations.NotNull() C);// myFun(C, C)
|
||||
|
||||
public C();// .ctor()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// C
|
||||
// WITH_STDLIB
|
||||
class C {
|
||||
@JvmName("myFun")
|
||||
fun g(c: C) {
|
||||
|
||||
}
|
||||
|
||||
@JvmName("myFun")
|
||||
fun z(c: C, c2: C) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -0,0 +1,27 @@
|
||||
public final class A /* A*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final A.Companion Companion;
|
||||
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public static final void f();// f()
|
||||
|
||||
public A();// .ctor()
|
||||
|
||||
|
||||
|
||||
public static final class B /* A.B*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final A.B INSTANCE;
|
||||
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public static final void g();// g()
|
||||
|
||||
private B();// .ctor()
|
||||
|
||||
}public static final class Companion /* A.Companion*/ {
|
||||
@kotlin.jvm.JvmStatic()
|
||||
public final void f();// f()
|
||||
|
||||
private Companion();// .ctor()
|
||||
|
||||
}}
|
||||
@@ -0,0 +1,19 @@
|
||||
// A
|
||||
// WITH_STDLIB
|
||||
|
||||
class A {
|
||||
companion object {
|
||||
@JvmStatic fun f() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
object B {
|
||||
@JvmStatic
|
||||
fun g() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -0,0 +1,8 @@
|
||||
public final class A /* p.A*/ {
|
||||
public A(int);// .ctor(int)
|
||||
|
||||
public final int getProperty();// getProperty()
|
||||
|
||||
public final void memberFun();// memberFun()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
// p.A
|
||||
|
||||
package p
|
||||
|
||||
class A {
|
||||
init {
|
||||
fun localFunInInit() {}
|
||||
}
|
||||
|
||||
constructor(x: Int) {
|
||||
fun localFunInConstructor() {}
|
||||
}
|
||||
|
||||
fun memberFun() {
|
||||
fun localFunInMemberFun() {}
|
||||
}
|
||||
|
||||
val property: Int
|
||||
get() {
|
||||
fun localFunInPropertyAccessor() {}
|
||||
return 1
|
||||
}
|
||||
}
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
public final class A /* p.A*/ {
|
||||
private static final void _get_property_$localFunInPropertyAccessor();// _get_property_$localFunInPropertyAccessor()
|
||||
|
||||
private static final void _init_$localFunInConstructor();// _init_$localFunInConstructor()
|
||||
|
||||
private static final void _init_$localFunInInit();// _init_$localFunInInit()
|
||||
|
||||
private static final void memberFun$localFunInMemberFun();// memberFun$localFunInMemberFun()
|
||||
|
||||
public A(int);// .ctor(int)
|
||||
|
||||
public final int getProperty();// getProperty()
|
||||
|
||||
public final void memberFun();// memberFun()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
public final class A /* A*/ {
|
||||
public A();// .ctor()
|
||||
|
||||
|
||||
|
||||
public static final class B /* A.B*/ {
|
||||
public B();// .ctor()
|
||||
|
||||
|
||||
|
||||
public static final class I /* A.B.I*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final A.B.I INSTANCE;
|
||||
|
||||
private I();// .ctor()
|
||||
|
||||
}public static final class II /* A.B.II*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final A.B.II INSTANCE;
|
||||
|
||||
private II();// .ctor()
|
||||
|
||||
}}public static final class C /* A.C*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final A.C INSTANCE;
|
||||
|
||||
private C();// .ctor()
|
||||
|
||||
|
||||
public static final class D /* A.C.D*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final A.C.D INSTANCE;
|
||||
|
||||
private D();// .ctor()
|
||||
|
||||
|
||||
public static final class G /* A.C.D.G*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public static final A.C.D.G INSTANCE;
|
||||
|
||||
private G();// .ctor()
|
||||
|
||||
}}}}
|
||||
@@ -0,0 +1,17 @@
|
||||
// A
|
||||
|
||||
class A {
|
||||
class B {
|
||||
object I
|
||||
|
||||
object II
|
||||
}
|
||||
|
||||
object C {
|
||||
object D {
|
||||
object G
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
compiler/testData/asJava/lightClasses/lightClassByFqName/NonDataClassWithComponentFunctions.fir.java
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
public final class A /* p.A*/ {
|
||||
private final int y;
|
||||
|
||||
@java.lang.Override()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String toString();// toString()
|
||||
|
||||
@java.lang.Override()
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable() java.lang.Object);// equals(java.lang.Object)
|
||||
|
||||
@java.lang.Override()
|
||||
public int hashCode();// hashCode()
|
||||
|
||||
public A(int);// .ctor(int)
|
||||
|
||||
public final int component1();// component1()
|
||||
|
||||
public final int getY();// getY()
|
||||
|
||||
}
|
||||
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
public final class A /* p.A*/ {
|
||||
private final int y;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String toString();// toString()
|
||||
|
||||
public A(int);// .ctor(int)
|
||||
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable() java.lang.Object);// equals(java.lang.Object)
|
||||
|
||||
public final int component1();// component1()
|
||||
|
||||
public final int getY();// getY()
|
||||
|
||||
public int hashCode();// hashCode()
|
||||
|
||||
}
|
||||
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
// p.A
|
||||
package p
|
||||
|
||||
class A(val y: Int) {
|
||||
override fun equals(other: Any?): Boolean {
|
||||
return super.equals(other)
|
||||
}
|
||||
|
||||
override fun hashCode(): Int {
|
||||
return super.hashCode()
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return super.toString()
|
||||
}
|
||||
|
||||
fun component1() = y
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
public final class OnlySecondaryConstructors /* OnlySecondaryConstructors*/ {
|
||||
public OnlySecondaryConstructors();// .ctor()
|
||||
|
||||
public OnlySecondaryConstructors(int);// .ctor(int)
|
||||
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// OnlySecondaryConstructors
|
||||
|
||||
class OnlySecondaryConstructors {
|
||||
constructor(): super()
|
||||
constructor(p: Int): this()
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
@@ -0,0 +1,9 @@
|
||||
public final class A /* A*/ {
|
||||
@kotlin.PublishedApi()
|
||||
public final int access$test(int);// access$test(int)
|
||||
|
||||
public A();// .ctor()
|
||||
|
||||
public final void test();// test()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// A
|
||||
class A {
|
||||
inline fun test() {
|
||||
{
|
||||
`access$test`(1)
|
||||
}()
|
||||
}
|
||||
|
||||
@PublishedApi
|
||||
internal fun `access$test`(p: Int) = p
|
||||
}
|
||||
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
@java.lang.annotation.Documented()
|
||||
@java.lang.annotation.Repeatable(value = Anno.Container.class)
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.SOURCE)
|
||||
@java.lang.annotation.Target(value = {java.lang.annotation.ElementType.TYPE_PARAMETER, java.lang.annotation.ElementType.TYPE_USE})
|
||||
@kotlin.annotation.MustBeDocumented()
|
||||
@kotlin.annotation.Repeatable()
|
||||
@kotlin.annotation.Retention(value = kotlin.annotation.AnnotationRetention.SOURCE)
|
||||
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.TYPE_PARAMETER, kotlin.annotation.AnnotationTarget.TYPE})
|
||||
public abstract @interface Anno /* Anno*/ {
|
||||
public abstract int i();// i()
|
||||
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.SOURCE)
|
||||
@java.lang.annotation.Target(value = {java.lang.annotation.ElementType.TYPE_PARAMETER, java.lang.annotation.ElementType.TYPE_USE})
|
||||
@kotlin.annotation.Retention(value = kotlin.annotation.AnnotationRetention.SOURCE)
|
||||
@kotlin.annotation.Target(allowedTargets = {kotlin.annotation.AnnotationTarget.TYPE_PARAMETER, kotlin.annotation.AnnotationTarget.TYPE})
|
||||
@kotlin.jvm.internal.RepeatableContainer()
|
||||
public static abstract @interface Container /* Anno.Container*/ {
|
||||
public abstract Anno[] value();// value()
|
||||
|
||||
}}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// Anno
|
||||
// FULL_JDK
|
||||
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@Target(AnnotationTarget.TYPE_PARAMETER, AnnotationTarget.TYPE)
|
||||
@MustBeDocumented
|
||||
@Repeatable
|
||||
annotation class Anno(val i: Int)
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
public final class A /* A*/ {
|
||||
public A();// .ctor()
|
||||
|
||||
public final void foo(@org.jetbrains.annotations.NotNull() kotlin.jvm.functions.Function4<? super RS, ? super P, ? super P, ? super kotlin.coroutines.Continuation<? super kotlin.Unit>, ? extends java.lang.Object>);// foo(kotlin.jvm.functions.Function4<? super RS, ? super P, ? super P, ? super kotlin.coroutines.Continuation<? super kotlin.Unit>, ? extends java.lang.Object>)
|
||||
|
||||
public final void foo(@org.jetbrains.annotations.Nullable() P, @org.jetbrains.annotations.Nullable() P);// foo(P, P)
|
||||
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// A
|
||||
class A {
|
||||
fun foo(p1: P?, p2: P?) {}
|
||||
fun foo(listener: suspend RS.(P?, P?) -> Unit) {}
|
||||
}
|
||||
|
||||
interface P
|
||||
interface RS
|
||||
|
||||
// WITH_STDLIB
|
||||
// FIR_COMPARISON
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
public abstract class A /* A*/<T extends A<T>> extends B<java.util.Collection<? extends T>> implements C<T> {
|
||||
public A();// .ctor()
|
||||
|
||||
|
||||
|
||||
public class Inner /* A.Inner*/<D> extends B<java.util.Collection<? extends T>> implements C<D> {
|
||||
public Inner();// .ctor()
|
||||
|
||||
}public final class Inner2 /* A.Inner2*/<X> extends A.Inner<X> implements C<X> {
|
||||
public Inner2();// .ctor()
|
||||
|
||||
}}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// A
|
||||
open class B<F>
|
||||
interface C<E>
|
||||
abstract class A<T : A<T>> : B<Collection<T>>(), C<T> {
|
||||
inner open class Inner<D> : B<Collection<T>>(), C<D> {
|
||||
}
|
||||
|
||||
inner class Inner2<X> : Inner<X>(), C<X>
|
||||
}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
public final class C /* C*/ {
|
||||
public C();// .ctor()
|
||||
|
||||
public final /* vararg */ void f(@org.jetbrains.annotations.NotNull() int...);// f(int[])
|
||||
|
||||
public final /* vararg */ void p(int, @org.jetbrains.annotations.NotNull() java.lang.String...);// p(int, java.lang.String[])
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
// C
|
||||
|
||||
class C {
|
||||
|
||||
fun f(vararg i: Int) {
|
||||
|
||||
}
|
||||
|
||||
fun p(i: Int, vararg s: String) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// FIR_COMPARISON
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
public final class B /* p.B*/ {
|
||||
public B();// .ctor()
|
||||
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// p.B
|
||||
package p
|
||||
|
||||
actual class B
|
||||
|
||||
// FIR_COMPARISON
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
public final class ActualTypeAliasKt /* p.ActualTypeAliasKt*/ {
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
// p.ActualTypeAliasKt
|
||||
package p
|
||||
|
||||
actual typealias B = List<Int>
|
||||
+1
@@ -0,0 +1 @@
|
||||
// NOT_GENERATED
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
@kotlin.jvm.JvmPackageName(name = "a.b.c")
|
||||
public final class ActualTypeAliasCustomJvmPackageNameKt /* a.b.c.ActualTypeAliasCustomJvmPackageNameKt*/ {
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// a.b.c.ActualTypeAliasCustomJvmPackageNameKt
|
||||
// WITH_STDLIB
|
||||
@file:JvmPackageName("a.b.c")
|
||||
package p
|
||||
|
||||
actual typealias B = List<Int>
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
public final class AllInlineOnly /* p.AllInlineOnly*/ {
|
||||
}
|
||||
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
// p.AllInlineOnly
|
||||
// WITH_STDLIB
|
||||
@file:kotlin.jvm.JvmMultifileClass
|
||||
@file:kotlin.jvm.JvmName("AllInlineOnly")
|
||||
|
||||
package p
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun f(): Int = 3
|
||||
|
||||
@kotlin.internal.InlineOnly
|
||||
public inline fun g(p: String): String = "p"
|
||||
|
||||
// FIR_COMPARISON
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
public final class A /* A*/ {
|
||||
@kotlin.jvm.Transient()
|
||||
@kotlin.jvm.Volatile()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private transient volatile java.lang.String c = "" /* initializer type: java.lang.String */;
|
||||
|
||||
@kotlin.jvm.Strictfp()
|
||||
@kotlin.jvm.Synchronized()
|
||||
public final synchronized strictfp void f();// f()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getC();// getC()
|
||||
|
||||
public A();// .ctor()
|
||||
|
||||
public final void setC(@org.jetbrains.annotations.NotNull() java.lang.String);// setC(java.lang.String)
|
||||
|
||||
}
|
||||
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
public final class A /* A*/ {
|
||||
@kotlin.jvm.Transient()
|
||||
@kotlin.jvm.Volatile()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private transient volatile java.lang.String c;
|
||||
|
||||
@kotlin.jvm.Strictfp()
|
||||
@kotlin.jvm.Synchronized()
|
||||
public final synchronized strictfp void f();// f()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String getC();// getC()
|
||||
|
||||
public A();// .ctor()
|
||||
|
||||
public final void setC(@org.jetbrains.annotations.NotNull() java.lang.String);// setC(java.lang.String)
|
||||
|
||||
}
|
||||
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
// A
|
||||
// WITH_STDLIB
|
||||
class A {
|
||||
@Synchronized
|
||||
@Strictfp
|
||||
fun f() {
|
||||
|
||||
}
|
||||
|
||||
@Transient
|
||||
@Volatile
|
||||
var c: String = ""
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user