public MavenProjectsStructure.DisplayKind getDisplayKind() {
    var displayMode = myMavenProjectsStructure.getDisplayMode();
    if (displayMode == SHOW_ALL) return MavenProjectsStructure.DisplayKind.NORMAL;

    if (displayMode == SHOW_PROJECTS && getType() == MavenNodeType.PROJECT) return MavenProjectsStructure.DisplayKind.ALWAYS;
    if (displayMode == SHOW_GOALS && getType() == MavenNodeType.GOAL) return MavenProjectsStructure.DisplayKind.ALWAYS;

    return MavenProjectsStructure.DisplayKind.NEVER;
  }
public MavenProjectsStructure.DisplayKind getDisplayKind()