backport: IDEA-115189 IntelliLang Pattern Validator: Class not found