Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/constantExpression/beforeUnaryMinus.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
112 B
Java

// "Fix all 'Constant expression can be evaluated' problems in file" "false"
class Test {
int x = -<caret>2;
}