No synthetic properties of type Unit
This commit is contained in:
@@ -3,12 +3,16 @@ fun foo(javaClass: JavaClass) {
|
||||
javaClass.<!UNRESOLVED_REFERENCE!>something1<!>
|
||||
javaClass.<!UNRESOLVED_REFERENCE!>something2<!>
|
||||
javaClass.<!UNRESOLVED_REFERENCE!>somethingStatic<!>
|
||||
javaClass.<!UNRESOLVED_REFERENCE!>somethingVoid<!>
|
||||
}
|
||||
|
||||
// FILE: JavaClass.java
|
||||
public class JavaClass {
|
||||
public int getSomething1(int p) { return p; }
|
||||
|
||||
public <T> T getSomething2() { return null; }
|
||||
|
||||
public static int getSomethingStatic() { return 1; }
|
||||
}
|
||||
|
||||
public void getSomethingVoid() { }
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ public open class JavaClass {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open fun getSomething1(/*0*/ p: kotlin.Int): kotlin.Int
|
||||
public open fun </*0*/ T> getSomething2(): T!
|
||||
public open fun getSomethingVoid(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
|
||||
Reference in New Issue
Block a user