java: expression context for array.stream postfix template IDEA-157975

This commit is contained in:
Andrey Starovoyt
2016-10-04 16:54:06 +03:00
parent f6614075a5
commit 2e7d6eb8af
4 changed files with 27 additions and 3 deletions
@@ -0,0 +1,9 @@
package templates;
public class Foo {
void m(int[] array) {
if (array.stream<caret>) {
}
}
}
@@ -0,0 +1,11 @@
package templates;
import java.util.Arrays;
public class Foo {
void m(int[] array) {
if (Arrays.stream(array)) {
}
}
}