ProjectAbstractTreeStructureBase () { return new ProjectTreeStructure(myProject, ID){ @Override protected AbstractTreeNode createRoot(@NotNull final Project project, @NotNull ViewSettings settings) { return new StructureViewModuleNode(project, myModule, settings); } }; }