boolean (PsiElementProcessor<? super PsiFileSystemItem> processor, PsiFileSystemItem element) { if (processor instanceof PsiFileSystemItemProcessor && !((PsiFileSystemItemProcessor)processor).acceptItem(element.getName(), true)) { return true; } return processor.execute(element); }