mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 07:40:42 +07:00
Java: Don't fold too complex expressions when extracting method (IDEA-175221, IDEA-167255)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class UseBuilder {
|
||||
void test(Builder builder, int[] arr) {
|
||||
<selection>builder.foo("xyz").bar(arr[0]).foo("abc");</selection>
|
||||
}
|
||||
|
||||
static class Builder {
|
||||
Builder foo(String s) {
|
||||
return this;
|
||||
}
|
||||
|
||||
Builder bar(int x) {
|
||||
return this;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user