Minor, get rid of SAMs in some loadJava tests

This commit is contained in:
Alexander Udalov
2014-10-30 11:10:35 +03:00
parent 66d27fad13
commit ae3c17d399
15 changed files with 66 additions and 40 deletions
@@ -0,0 +1,10 @@
package test;
public class PrivateSamAdapter {
private void samAdapter(SamInterface r) {
}
private interface SamInterface {
void foo();
}
}
@@ -0,0 +1,14 @@
package test
public open class PrivateSamAdapter {
public constructor PrivateSamAdapter()
private final /*synthesized*/ fun samAdapter(/*0*/ p0: (() -> kotlin.Unit)!): kotlin.Unit
private open fun samAdapter(/*0*/ p0: test.PrivateSamAdapter.SamInterface!): kotlin.Unit
private trait SamInterface {
public abstract fun foo(): kotlin.Unit
}
// Static members
private final /*synthesized*/ fun SamInterface(/*0*/ function: () -> kotlin.Unit): test.PrivateSamAdapter.SamInterface
}