1df2851611
Similarly to the other places in the IR backend (e.g. see `copyValueParametersToStatic` in the same file). In JVM IR, these names are used for example for receiver parameters of methods copied to DefaultImpls classes. Since Java stub code generated by kapt mentions them, it fixes a few issues in tests on kapt + JVM IR (KT-49682).
70 lines
1.3 KiB
Plaintext
Vendored
70 lines
1.3 KiB
Plaintext
Vendored
import java.lang.System;
|
|
|
|
@kotlin.Metadata()
|
|
public abstract interface Intf {
|
|
public static final int WHITE = 2;
|
|
@org.jetbrains.annotations.NotNull()
|
|
public static final Intf.Companion Companion = null;
|
|
|
|
public abstract int getColor();
|
|
|
|
@kotlin.Metadata()
|
|
public static final class Companion {
|
|
private static final int BLACK = 1;
|
|
public static final int WHITE = 2;
|
|
|
|
private Companion() {
|
|
super();
|
|
}
|
|
|
|
public final int getBLACK() {
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
@kotlin.Metadata()
|
|
public static final class DefaultImpls {
|
|
|
|
public DefaultImpls() {
|
|
super();
|
|
}
|
|
|
|
public static int getColor(@org.jetbrains.annotations.NotNull()
|
|
Intf $this) {
|
|
return 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
////////////////////
|
|
|
|
|
|
import java.lang.System;
|
|
|
|
@kotlin.Metadata()
|
|
public abstract interface IntfWithDefaultImpls {
|
|
|
|
public abstract void a();
|
|
|
|
@kotlin.Metadata()
|
|
public static final class DefaultImpls {
|
|
|
|
public DefaultImpls() {
|
|
super();
|
|
}
|
|
|
|
public static void a(@org.jetbrains.annotations.NotNull()
|
|
IntfWithDefaultImpls $this) {
|
|
}
|
|
}
|
|
}
|
|
|
|
////////////////////
|
|
|
|
|
|
import java.lang.System;
|
|
|
|
@kotlin.Metadata()
|
|
public abstract interface IntfWithoutDefaultImpls {
|
|
}
|