mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Also add tests checking that annotations on 'invoke' methods of common lambdas are saved properly #KT-6932 Fixed
16 lines
289 B
Java
Vendored
16 lines
289 B
Java
Vendored
import java.lang.Runnable;
|
|
|
|
class Test {
|
|
public static Class<?> apply(Runnable x) {
|
|
return x.getClass();
|
|
}
|
|
|
|
public static interface ABC {
|
|
void apply(String x1, String x2);
|
|
}
|
|
|
|
public static Class<?> applyABC(ABC x) {
|
|
return x.getClass();
|
|
}
|
|
}
|