harden source code with IntelliJ checking tools