mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 04:37:32 +07:00
java builder completion: don't disprefer methods that can be called multiple times (IDEA-CR-47127,IDEA-211080)
GitOrigin-RevId: e3be838bca3755bdb935d46c8527ea01b0dfc495
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c62a77d3f2
commit
0e9086f681
+5
-2
@@ -1,13 +1,16 @@
|
||||
class Test {
|
||||
{
|
||||
MyBuilder b;
|
||||
b.a().b().<caret>
|
||||
b.x().b().addInt(1).putLong(2).mayCallManyTimes().mayCallManyTimes().<caret>
|
||||
}
|
||||
}
|
||||
|
||||
interface MyBuilder {
|
||||
MyBuilder a();
|
||||
MyBuilder x();
|
||||
MyBuilder b();
|
||||
MyBuilder c();
|
||||
MyBuilder d();
|
||||
MyBuilder addInt(int a);
|
||||
MyBuilder putLong(long a);
|
||||
MyBuilder mayCallManyTimes();
|
||||
}
|
||||
Reference in New Issue
Block a user