Files
kotlin-fork/nj2k/testData/newJ2k/functionalInterfaces/AbstractGetter2.java
T
Roman Golyshev 4436142f00 KT-38450 Add functional interface converter to the NJ2K
- Enable custom compiler options for
`AbstractNewJavaToKotlinConverterSingleFileTest`
- ^KT-38450 Fixed
2020-05-25 11:11:24 +03:00

10 lines
174 B
Java
Vendored

// RUNTIME_WITH_FULL_JDK
@FunctionalInterface
public interface MyRunnable {
int getResult();
default int getDoubleResult() {
return getResult() * 2;
}
}