[LC] rename lightClasses/lightClasses to lightClasses/lightClassByFqName

This commit is contained in:
Dmitrii Gridin
2022-12-22 13:36:16 +01:00
committed by teamcity
parent 81a939409a
commit 742c3de112
235 changed files with 6 additions and 6 deletions
@@ -0,0 +1,26 @@
@test.AllOpen()
public final class C /* test.C*/ {
private final int p;
public C();// .ctor()
public final int getP();// getP()
public final void f();// f()
public final void g();// g()
@test.AllOpen()
public static final class H /* test.C.H*/ {
public H();// .ctor()
public final void j();// j()
}public static final class D /* test.C.D*/ {
public D();// .ctor()
public final void z();// z()
}}
@@ -0,0 +1,26 @@
@test.AllOpen()
public class C /* test.C*/ {
private final int p;
public C();// .ctor()
public int getP();// getP()
public void f();// f()
public void g();// g()
@test.AllOpen()
public static class H /* test.C.H*/ {
public H();// .ctor()
public void j();// j()
}public static final class D /* test.C.D*/ {
public D();// .ctor()
public final void z();// z()
}}
@@ -0,0 +1,26 @@
// test.C
package test
annotation class AllOpen
@AllOpen
class C {
fun f() {}
fun g() {}
val p: Int
class D {
fun z() {
}
}
@AllOpen
class H {
fun j() {}
}
}
// COMPILATION_ERRORS
@@ -0,0 +1,46 @@
public final class Container /* p1.Container*/ {
public Container();// .ctor()
public static final class MyNumber /* p1.Container.MyNumber*/ extends java.lang.Number {
@java.lang.Override()
public byte toByte();// toByte()
@java.lang.Override()
public char toChar();// toChar()
@java.lang.Override()
public double toDouble();// toDouble()
@java.lang.Override()
public float toFloat();// toFloat()
@java.lang.Override()
public int toInt();// toInt()
@java.lang.Override()
public long toLong();// toLong()
@java.lang.Override()
public short toShort();// toShort()
public MyNumber();// .ctor()
}public static final class MyString /* p1.Container.MyString*/ implements java.lang.CharSequence {
@java.lang.Override()
@org.jetbrains.annotations.NotNull()
public java.lang.CharSequence subSequence(int, int);// subSequence(int, int)
@java.lang.Override()
public char get(int);// get(int)
public MyString();// .ctor()
public error.NonExistentClass chars();// chars()
public error.NonExistentClass codePoints();// codePoints()
public int getLength();// getLength()
}}
@@ -0,0 +1,38 @@
public final class Container /* p1.Container*/ {
public Container();// .ctor()
public static final class MyNumber /* p1.Container.MyNumber*/ extends java.lang.Number {
public MyNumber();// .ctor()
public byte toByte();// toByte()
public char toChar();// toChar()
public double toDouble();// toDouble()
public float toFloat();// toFloat()
public int toInt();// toInt()
public long toLong();// toLong()
public short toShort();// toShort()
}public static final class MyString /* p1.Container.MyString*/ implements java.lang.CharSequence {
@org.jetbrains.annotations.NotNull()
public java.lang.CharSequence subSequence(int, int);// subSequence(int, int)
public MyString();// .ctor()
public char get(int);// get(int)
public error.NonExistentClass chars();// chars()
public error.NonExistentClass codePoints();// codePoints()
public int getLength();// getLength()
}}
@@ -0,0 +1,49 @@
// p1.Container
package p1
class Container {
class MyString : CharSequence {
override val length: Int
get() = 0
override fun chars(): IntStream = error("")
override fun codePoints(): IntStream = error("")
override fun get(index: Int): Char = 'c'
override fun subSequence(startIndex: Int, endIndex: Int): CharSequence = MyString()
}
class MyNumber : Number {
override fun toByte(): Byte {
TODO("not implemented")
}
override fun toChar(): Char {
TODO("not implemented")
}
override fun toDouble(): Double {
TODO("not implemented")
}
override fun toFloat(): Float {
TODO("not implemented")
}
override fun toInt(): Int {
TODO("not implemented")
}
override fun toLong(): Long {
TODO("not implemented")
}
override fun toShort(): Short {
TODO("not implemented")
}
}
}
// COMPILATION_ERRORS
@@ -0,0 +1,7 @@
public final class TypeHierarchyMap /* p1.TypeHierarchyMap*/<TValue> implements java.util.Map<java.lang.Class<?>, TValue>, kotlin.collections.Map<java.lang.Class<?>, TValue>, kotlin.jvm.internal.markers.KMappedMarker {
@java.lang.Override()
public boolean containsKey(@org.jetbrains.annotations.NotNull() java.lang.Class<?>);// containsKey(java.lang.Class<?>)
public TypeHierarchyMap();// .ctor()
}
@@ -0,0 +1,6 @@
public final class TypeHierarchyMap /* p1.TypeHierarchyMap*/<TValue> implements java.util.Map<java.lang.Class<?>, TValue>, kotlin.collections.Map<java.lang.Class<?>, TValue>, kotlin.jvm.internal.markers.KMappedMarker {
public TypeHierarchyMap();// .ctor()
public boolean containsKey(@org.jetbrains.annotations.NotNull() java.lang.Class<?>);// containsKey(java.lang.Class<?>)
}
@@ -0,0 +1,9 @@
// p1.TypeHierarchyMap
package p1
class TypeHierarchyMap<TValue> : Map<Class<*>, TValue> {
override fun containsKey(key: Class<*>): Boolean {
TODO("not implemented")
}
}
// COMPILATION_ERRORS
@@ -0,0 +1,48 @@
public final class SmartSet /* SmartSet*/<T> extends kotlin.collections.AbstractSet<T> implements java.util.Set<T>, kotlin.collections.MutableSet<T>, kotlin.jvm.internal.markers.KMutableSet {
@org.jetbrains.annotations.NotNull()
public static final SmartSet.Companion Companion;
@org.jetbrains.annotations.Nullable()
private java.lang.Object data = null /* initializer type: null */;
private int size = 0 /* initializer type: int */;
private static final int ARRAY_THRESHOLD = 5 /* initializer type: int */;
@java.lang.Override()
@org.jetbrains.annotations.NotNull()
public java.util.Iterator<T> iterator();// iterator()
@java.lang.Override()
public boolean add(T);// add(T)
@java.lang.Override()
public void clear();// clear()
@kotlin.jvm.JvmStatic()
@org.jetbrains.annotations.NotNull()
public static final <T> SmartSet<T> create();// <T> create()
@kotlin.jvm.JvmStatic()
@org.jetbrains.annotations.NotNull()
public static final <T> SmartSet<T> create(@org.jetbrains.annotations.NotNull() java.util.Collection<? extends T>);// <T> create(java.util.Collection<? extends T>)
private SmartSet();// .ctor()
public int getSize();// getSize()
public void setSize(int);// setSize(int)
public static final class Companion /* SmartSet.Companion*/ {
@kotlin.jvm.JvmStatic()
@org.jetbrains.annotations.NotNull()
public final <T> SmartSet<T> create();// <T> create()
@kotlin.jvm.JvmStatic()
@org.jetbrains.annotations.NotNull()
public final <T> SmartSet<T> create(@org.jetbrains.annotations.NotNull() java.util.Collection<? extends T>);// <T> create(java.util.Collection<? extends T>)
private Companion();// .ctor()
}}
@@ -0,0 +1,45 @@
public final class SmartSet /* SmartSet*/<T> extends kotlin.collections.AbstractSet<T> implements java.util.Set<T>, kotlin.collections.MutableSet<T>, kotlin.jvm.internal.markers.KMutableSet {
@org.jetbrains.annotations.NotNull()
public static final SmartSet.Companion Companion;
@org.jetbrains.annotations.Nullable()
private java.lang.Object data;
private int size;
private static final int ARRAY_THRESHOLD;
@kotlin.jvm.JvmStatic()
@org.jetbrains.annotations.NotNull()
public static final <T> SmartSet<T> create();// <T> create()
@kotlin.jvm.JvmStatic()
@org.jetbrains.annotations.NotNull()
public static final <T> SmartSet<T> create(@org.jetbrains.annotations.NotNull() java.util.Collection<? extends T>);// <T> create(java.util.Collection<? extends T>)
@org.jetbrains.annotations.NotNull()
public java.util.Iterator<T> iterator();// iterator()
private SmartSet();// .ctor()
public boolean add(T);// add(T)
public int getSize();// getSize()
public void clear();// clear()
public void setSize(int);// setSize(int)
public static final class Companion /* SmartSet.Companion*/ {
@kotlin.jvm.JvmStatic()
@org.jetbrains.annotations.NotNull()
public final <T> SmartSet<T> create();// <T> create()
@kotlin.jvm.JvmStatic()
@org.jetbrains.annotations.NotNull()
public final <T> SmartSet<T> create(@org.jetbrains.annotations.NotNull() java.util.Collection<? extends T>);// <T> create(java.util.Collection<? extends T>)
private Companion();// .ctor()
}}
@@ -0,0 +1,29 @@
// SmartSet
class SmartSet<T> private constructor() : AbstractSet<T>(), MutableSet<T> {
companion object {
private val ARRAY_THRESHOLD = 5
@JvmStatic
fun <T> create() = SmartSet<T>()
@JvmStatic
fun <T> create(set: Collection<T>): SmartSet<T> = TODO()
}
private var data: Any? = null
override var size: Int = 0
override fun iterator(): MutableIterator<T> = TODO()
override fun add(element: T): Boolean = TODO()
override fun clear() {
data = null
size = 0
}
}
// COMPILATION_ERRORS
@@ -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()
}
@@ -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()
}
@@ -0,0 +1,32 @@
// p.Inheritor
package p
annotation class Anno(vararg val s: String)
annotation class Bueno(val anno: Anno)
class Inheritor: I, I2 {
fun f() {
}
override fun g() {
}
}
interface I : I1 {
fun g()
}
interface I1 {
@Bueno(Anno("G"))
fun foo() = "foo"
}
interface I2 {
@Anno("S")
fun bar() = "bar"
}
// FIR_COMPARISON
@@ -0,0 +1,16 @@
public final class Inheritor /* p.Inheritor*/ implements p.I, p.I2 {
@org.jetbrains.annotations.NotNull()
@p.Anno(s = {"S"})
public java.lang.String bar();// bar()
@org.jetbrains.annotations.NotNull()
@p.Bueno(anno = @p.Anno(s = {"G"}))
public java.lang.String foo();// foo()
public Inheritor();// .ctor()
public final void f();// f()
public void g();// g()
}
@@ -0,0 +1,6 @@
package p
abstract class A {
internal val ap: Int = 4
internal fun af(): Int
}
@@ -0,0 +1,8 @@
public final class C /* p.C*/ {
public C();// .ctor()
public int af();// af()
public int getAp();// getAp()
}
@@ -0,0 +1,8 @@
public final class C /* p.C*/ extends p.A {
public C();// .ctor()
public int af$light_idea_test_case();// af$light_idea_test_case()
public int getAp$light_idea_test_case();// getAp$light_idea_test_case()
}
@@ -0,0 +1,13 @@
// p.C
package p
class C : A() {
override val ap: Int
get() = super.c
override fun af(): Int {
return super.foo()
}
}
// COMPILATION_ERRORS
@@ -0,0 +1,11 @@
package p
abstract class A {
open internal val ap: Int = 4
abstract internal fun af(): Int
}
interface I {
internal val ip: Int
internal fun if(): Int
}
@@ -0,0 +1,12 @@
public final class C /* p.C*/ {
private final int ip = 5 /* initializer type: int */;
public C();// .ctor()
public int af();// af()
public int getAp();// getAp()
public int getIp();// getIp()
}
@@ -0,0 +1,14 @@
public final class C /* p.C*/ extends p.A implements p.I {
private final int ip;
public C();// .ctor()
public int <no name provided>$light_idea_test_case();// <no name provided>$light_idea_test_case()
public int af$light_idea_test_case();// af$light_idea_test_case()
public int getAp$light_idea_test_case();// getAp$light_idea_test_case()
public int getIp$light_idea_test_case();// getIp$light_idea_test_case()
}
@@ -0,0 +1,16 @@
// p.C
package p
class C : A(), I {
override val ap: Int
get() = super.c
override fun af(): Int {
return super.foo()
}
override val ip = 5
override fun if() = 5
}
// COMPILATION_ERRORS
@@ -0,0 +1,6 @@
package p
abstract class A {
protected val ap: Int = 4
abstract protected fun af(): Int
}
@@ -0,0 +1,8 @@
public final class C /* p.C*/ {
public C();// .ctor()
public int af();// af()
public int getAp();// getAp()
}
@@ -0,0 +1,8 @@
public final class C /* p.C*/ extends p.A {
protected int af();// af()
protected int getAp();// getAp()
public C();// .ctor()
}
@@ -0,0 +1,13 @@
// p.C
package p
class C : A() {
override val ap: Int
get() = super.c
override fun af(): Int {
return super.foo()
}
}
// COMPILATION_ERRORS