public Collection<Type> make(API api, Container.Entry entry) {
    Listener listener = getListener(entry);

    if (listener == null) {
      return Collections.emptyList();
    } else {
      return listener.getRootTypes();
    }
  }
  public Type make(API api, Container.Entry entry, String fragment) {
    Listener listener = getListener(entry);

    if (listener == null) {
      return null;
    } else {
      if ((fragment != null) && (fragment.length() > 0)) {
        // Search type name in fragment. URI format : see jd.gui.api.feature.UriOpener
        int index = fragment.indexOf('-');

        if (index != -1) {
          // Keep type name only
          fragment = fragment.substring(0, index);
        }

        return listener.getType(fragment);
      } else {
        return listener.getMainType();
      }
    }
  }