code: public Collection<SideBarSectionDescriptor> getSideBarSections(Class<? extends UI> uiClass) {
          List<SideBarSectionDescriptor> supportedSections = new ArrayList<SideBarSectionDescriptor>();
          for (SideBarSectionDescriptor section : sections) {
              if (section.isAvailableFor(uiClass)) {
                  supportedSections.add(section);
              }
          }
          return supportedSections;
      }
docs: Gets all side bar sections for the specified UI class.
  
  @param uiClass the UI class, must not be {@code null}.
  @return a collection of side bar section descriptors, never {@code null}.
  @see SideBarSection#ui()