Files
openide/java/java-tests/testData/codeInsight/generation/surroundWith/java/SurroundExpressionWithElseIfElse.java
T
Alexander Zolotov 2f3d180fbd IDEA-123355 Postfix template expansions .null/.notnull after 'else' fail to provide a valid Java output
allow JavaWithIfExpressionSurrounder just after else keywords
2014-04-07 19:05:34 +04:00

11 lines
135 B
Java

class Test {
boolean foo() {
return true;
}
void bar() {
if (true) {
}
else <selection>foo()</selection>
}
}