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
This commit is contained in:
Tagir Valeev
2018-01-25 15:43:48 +07:00
parent 20bfde4499
commit 6cc8936598
22 changed files with 267 additions and 192 deletions
@@ -0,0 +1,4 @@
// "Replace '~2' with constant value '-3'" "true"
class Test {
int x = -3;
}