Stricter rules on constant conditions for IntelliJ IDEA