static Factory<List<Pair<String, Icon>>> createEnumFactory(final Class<? extends Enum> aClass) {
    return () -> ContainerUtil.map(aClass.getEnumConstants(), s -> Pair.create(
      NamedEnumUtil.getEnumValueByElement(s), ElementPresentationManager.getIcon(s)));
  }
static Factory<List<Pair<String, Icon>>> createEnumFactory(final Class<? extends Enum> aClass)