mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
inline class to anonymous in exp lambda (IDEA-180491)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import java.util.function.Function;
|
||||
|
||||
class InlineFromLambda {
|
||||
private static Function<String, Object> func(int p) {
|
||||
return s -> new Co<caret>mmand(s, p);
|
||||
}
|
||||
|
||||
private static class Command {
|
||||
public Command(String name, int p) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user