VisitorOptions (@NotNull Project project) { final DependencyValidationManager manager = DependencyValidationManager.getInstance(project); return new VisitorOptions() { @Override public boolean skipImports() { return manager.skipImportStatements(); } }; }