public static FunctionContext getInstance(final ContextType type) {
    return AbstractFunctionContext.getInstance(type, () -> new DefaultFunctionContext(type));
  }
public static FunctionContext getInstance(final ContextType type)