mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
honor vararg calls when inferring contracts (IDEA-148862)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
class Test {
|
||||
private String wrap(final String wrapWith, final String token) {
|
||||
return join(wrapWith, token, wrapWith);
|
||||
}
|
||||
|
||||
@org.jetbrains.annotations.Contract("null->null; !null->!null")
|
||||
native static <T> String join(T... elements);
|
||||
}
|
||||
Reference in New Issue
Block a user