Files
openide/java/java-tests/testData/refactoring/introduceFunctionalVariable/afterPostfixExpressionUnusedAfterAssignment.java
Anna Kozlova 9c1a494628 extract method: disable support of postfix/prefix exprs (IDEA-174182)
enable it for extract method object only
2017-06-09 12:28:26 +03:00

12 lines
270 B
Java

import java.util.function.Function;
class Test {
{
double y = 2.0;
int x = 1;
Function<Integer, Integer> integerIntegerFunction = x1 -> x1++;
double z = integerIntegerFunction.apply(x) + y;
System.out.println(z);
}
}