Support Java constructors in FIR (related to KT-29218)
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
public open class MyException : R|java/lang/Object| {
|
||||
public final function MyException(message: R|ft<kotlin/String, kotlin/String?>|!, cause: R|ft<kotlin/Throwable, kotlin/Throwable?>|!): R|test/MyException|
|
||||
|
||||
}
|
||||
|
||||
@@ -9,4 +9,6 @@ public open class JFrame : R|awt/Frame| {
|
||||
protected/*protected and package*/ get(): R|ft<kotlin/String, kotlin/String?>|!
|
||||
protected/*protected and package*/ set(value: R|ft<kotlin/String, kotlin/String?>|!): kotlin/Unit
|
||||
|
||||
public final function JFrame(): R|test/JFrame|
|
||||
|
||||
}
|
||||
|
||||
@@ -5,4 +5,6 @@ public open class PrivateMembers : R|java/lang/Object| {
|
||||
|
||||
private open operator function method(): R|kotlin/Unit|
|
||||
|
||||
private final function PrivateMembers(): R|test/PrivateMembers|
|
||||
|
||||
}
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
public final class Simple : R|java/lang/Object| {
|
||||
public final function Simple(): R|test/Simple|
|
||||
|
||||
}
|
||||
|
||||
+2
@@ -1,2 +1,4 @@
|
||||
public open class AnnotatedConstructor : R|java/lang/Object| {
|
||||
@R|test/AnnotatedConstructor.Anno|(String(constructor)) public final function AnnotatedConstructor(): R|test/AnnotatedConstructor|
|
||||
|
||||
}
|
||||
|
||||
+4
@@ -1,2 +1,6 @@
|
||||
public final enum class EnumConstructorParameter : R|java/lang/Enum<test/EnumConstructorParameter>| {
|
||||
private final function EnumConstructorParameter(@R|test/EnumConstructorParameter.Anno|(String(string)) s: R|ft<kotlin/String, kotlin/String?>|!): R|test/EnumConstructorParameter|
|
||||
|
||||
private final function EnumConstructorParameter(x: R|kotlin/Int|): R|test/EnumConstructorParameter|
|
||||
|
||||
}
|
||||
|
||||
+2
@@ -1,2 +1,4 @@
|
||||
public open class ConstructorGenericDeep : R|java/lang/Object| {
|
||||
public final function ConstructorGenericDeep(cl: R|ft<java/lang/Class<ft<P, P?>>, java/lang/Class<ft<P, P?>>?>|!): R|test/ConstructorGenericDeep|
|
||||
|
||||
}
|
||||
|
||||
+2
@@ -1,2 +1,4 @@
|
||||
public open class ConstructorGenericSimple : R|java/lang/Object| {
|
||||
public final function ConstructorGenericSimple(p: R|ft<P, P?>|!): R|test/ConstructorGenericSimple|
|
||||
|
||||
}
|
||||
|
||||
+2
@@ -1,2 +1,4 @@
|
||||
public open class ConstructorGenericUpperBound : R|java/lang/Object| {
|
||||
public final function ConstructorGenericUpperBound(p: R|ft<P, P?>|!): R|test/ConstructorGenericUpperBound|
|
||||
|
||||
}
|
||||
|
||||
@@ -4,4 +4,6 @@ public final enum class EnumMembers : R|java/lang/Enum<test/EnumMembers>| {
|
||||
|
||||
public open operator function first(): R|kotlin/Boolean|
|
||||
|
||||
private final function EnumMembers(isFirst: R|kotlin/Boolean|): R|test/EnumMembers|
|
||||
|
||||
}
|
||||
|
||||
Vendored
+2
@@ -1,2 +1,4 @@
|
||||
<T> public open class ConstructorWithNewTypeParams : R|java/lang/Object| {
|
||||
public final function ConstructorWithNewTypeParams(first: R|ft<U, U?>|!): R|test/ConstructorWithNewTypeParams|
|
||||
|
||||
}
|
||||
|
||||
Vendored
+2
@@ -1,2 +1,4 @@
|
||||
<T> public open class ConstructorWithParentTypeParams : R|java/lang/Object| {
|
||||
public final function ConstructorWithParentTypeParams(first: R|ft<T, T?>|!): R|test/ConstructorWithParentTypeParams|
|
||||
|
||||
}
|
||||
|
||||
Vendored
+2
@@ -1,2 +1,4 @@
|
||||
public open class ConstructorWithSeveralParams : R|java/lang/Object| {
|
||||
public final function ConstructorWithSeveralParams(integer: R|ft<kotlin/Int, kotlin/Int?>|!, intBasic: R|kotlin/Int|, collection: R|ft<java/util/ArrayList<ft<kotlin/String, kotlin/String?>>, java/util/ArrayList<ft<kotlin/String, kotlin/String?>>?>|!): R|test/ConstructorWithSeveralParams|
|
||||
|
||||
}
|
||||
|
||||
+2
@@ -1,2 +1,4 @@
|
||||
public open class ConstructorWithoutParams : R|java/lang/Object| {
|
||||
public final function ConstructorWithoutParams(): R|test/ConstructorWithoutParams|
|
||||
|
||||
}
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
public open class Constructor : R|java/lang/Object| {
|
||||
public final function Constructor(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|!): R|test/Constructor|
|
||||
|
||||
}
|
||||
|
||||
+2
@@ -1,2 +1,4 @@
|
||||
public open class ConstructorWithAnnotations : R|java/lang/Object| {
|
||||
public final function ConstructorWithAnnotations(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|!, @R|org/jetbrains/annotations/NotNull|() s: R|ft<kotlin/String, kotlin/String>|): R|test/ConstructorWithAnnotations|
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user