Make function delegated to sam adapter synthetic
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package forTests;
|
||||
|
||||
public interface Computable <T> {
|
||||
T compute();
|
||||
}
|
||||
@@ -15,4 +15,8 @@ public class MyJavaClass {
|
||||
public static int staticFun(Object s) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static <T> T runReadAction(@NotNull Computable<T> computation) {
|
||||
return computation.compute();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user