Used Intellij's inspection.