void (String subDirName) { super.createDirectories(subDirName); PsiFileSystemItem element = getCreatedElement(); final PsiDirectory restoredDirectory = directoryPointer.getElement(); if (element instanceof PsiDirectory && restoredDirectory != null) { createInitPyInHierarchy((PsiDirectory)element, restoredDirectory); } }