Make isFromJava check work for SAM adapter extension descriptors (KT-21538)

Consider all callable descriptor in JavaClassDescriptor to be from Java.

This is used to check if smart step into should be intercepted by Kotlin
handler or delegated to Java.

 #KT-21538 Fixed
This commit is contained in:
Nikolay Krasko
2017-12-12 18:47:59 +03:00
parent 26413acf33
commit d6cface66f
5 changed files with 38 additions and 3 deletions
@@ -49,4 +49,9 @@ public class MyJavaClass {
public static class RawADerived extends RawA {
}
// Method with sam conversion for step into test
public void other(Runnable runnable) {
runnable.run();
}
}