void (@NotNull PsiDirectory created, @NotNull PsiDirectory ancestor) { if (created.equals(ancestor)) { createInitPy(created); return; } do { createInitPy(created); created = created.getParent(); } while (created != null && !created.equals(ancestor)); }