ProblemDescriptor[] (@NotNull PsiFile file, @NotNull InspectionManager manager, boolean isOnTheFly) { if (file.getLanguage() instanceof PythonLanguage) { return new IndentValidator(file, manager, isOnTheFly).invoke(); } return ProblemDescriptor.EMPTY_ARRAY; }