@Override
    @NotNull
    public Map<QName, ? extends Function> getFunctions(ContextType contextType) {
        if (contextType == XPathSupport.TYPE) {
            return myFunctions;
        } else {
          return Collections.emptyMap();
        }
    }
@Override
    @NotNull
    public Map<QName, ? extends Function> getFunctions(ContextType contextType)