mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
StreamRefactoringUtil#isRefactoringCandidate disable if method reference is not resolved
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Inline 'map' body into the next 'map' call" "false"
|
||||
import java.util.List;
|
||||
import java.util.stream.IntStream;
|
||||
|
||||
public class Main {
|
||||
public static void test(List<Foo> list) {
|
||||
list.stream().<caret>map(Foo::getBar).map(bar -> bar.getID());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user