Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/constantExpression/afterUnary.java
Tagir Valeev 6cc8936598 Compute constant expression as an inspection; minor improvements
Works for unary operation
Do not suggested if replacement is the same as the original code
Replacement is displayed in the quick-fix name
2018-01-25 15:43:48 +07:00

4 lines
78 B
Java

// "Replace '~2' with constant value '-3'" "true"
class Test {
int x = -3;
}