mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-12 15:35:43 +07:00
Java: Restored folding of nested function calls when extracting method (IDEA-175221, IDEA-167255)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import java.util.List;
|
||||
class C {
|
||||
void foo(int[] a, List<Integer> b) {
|
||||
int i = 1;
|
||||
int n = <selection>bar(a[i], b.get(i))</selection>;
|
||||
System.out.println(n);
|
||||
}
|
||||
|
||||
int bar(int a, int b) {
|
||||
return a + b;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user