IDEA-97769: Fix compatibility with IntelliJ IDEA 12