// FILE: samAdapter.kt package samAdapter fun main(args: Array) { //Breakpoint! val a = 1 runReadAction { 1 } } fun runReadAction(action: () -> Int): Int { return forTests.MyJavaClass.runReadAction(action) } // STEP_INTO: 8 // FILE: forTests/MyJavaClass.java package forTests; import org.jetbrains.annotations.NotNull; public class MyJavaClass { public static T runReadAction(@NotNull Computable computation) { return computation.compute(); } } // FILE: forTests/Computable.java package forTests; public interface Computable { T compute(); }