public static List<Pair<QName, ? extends Function>> getAvailableFunctions(ContextType type) {
    final ArrayList<Pair<QName, ? extends Function>> list = new ArrayList<>();
    for (XPathFunctionProvider provider : EXTENSION_POINT_NAME.getExtensionList()) {
      final Map<QName, ? extends Function> functions = provider.getFunctions(type);

      final Set<QName> names = functions.keySet();
      for (QName name : names) {
        list.add(Pair.create(name, functions.get(name)));
      }
    }
    return list;
  }
public static List<Pair<QName, ? extends Function>> getAvailableFunctions(ContextType type)