mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 07:28:24 +07:00
GitOrigin-RevId: 3aae5c738d48c38144f6a78c36738121831ae5a5
16 lines
311 B
Java
16 lines
311 B
Java
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;
|
|
}
|
|
}
|
|
}
|