[LC] rename lightClasses/lightClasses to lightClasses/lightClassByFqName
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
public final class Derived /* Derived*/ implements Base {
|
||||
@java.lang.Override()
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String baz(@org.jetbrains.annotations.NotNull() java.lang.String);// baz(java.lang.String)
|
||||
|
||||
public Derived(@org.jetbrains.annotations.NotNull() Base);// .ctor(Base)
|
||||
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
public final class Derived /* Derived*/ implements Base {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String baz(@org.jetbrains.annotations.NotNull() java.lang.String);// baz(java.lang.String)
|
||||
|
||||
public Derived(@org.jetbrains.annotations.NotNull() Base);// .ctor(Base)
|
||||
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// Derived
|
||||
|
||||
interface Base {
|
||||
fun baz(g: String): String
|
||||
}
|
||||
|
||||
class Derived(x: Base): Base by x
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
public final class Derived /* Derived*/ implements Base {
|
||||
public Derived(@org.jetbrains.annotations.NotNull() Base);// .ctor(Base)
|
||||
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
public final class Derived /* Derived*/ implements Base {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String getBoo();// getBoo()
|
||||
|
||||
public Derived(@org.jetbrains.annotations.NotNull() Base);// .ctor(Base)
|
||||
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// Derived
|
||||
|
||||
interface Base {
|
||||
val boo: String
|
||||
}
|
||||
|
||||
class Derived(x: Base): Base by x
|
||||
compiler/testData/asJava/lightClasses/lightClassByFqName/delegation/WithPlatformTypes.NoCompile.java
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
public final class WithPlatformTypes implements p.J {
|
||||
public WithPlatformTypes(@org.jetbrains.annotations.NotNull p.J j) { /* compiled code */ }
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public java.lang.String foo(@org.jetbrains.annotations.NotNull java.lang.String b) { /* compiled code */ }
|
||||
}
|
||||
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
// WithPlatformTypes
|
||||
|
||||
// FILE: p/J.java
|
||||
package p;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public interface J {
|
||||
@NotNull
|
||||
String foo(@NotNull String b);
|
||||
}
|
||||
|
||||
// FILE: k.kt
|
||||
|
||||
import p.*
|
||||
|
||||
class WithPlatformTypes(j: J) : J by j
|
||||
Reference in New Issue
Block a user