storeFunctionDefinition(CURRENCY, CurrencyFunctions.instance());
storeFunctionDefinition(PROPERTY, PropertyFunctions.instance());
storeFunctionDefinition(VALUE, ValueFunctions.instance());
storeFunctionDefinition(VIEW, ViewFunctions.instance());
FunctionConfigurationDefinition financialFunc = new FunctionConfigurationDefinition(FINANCIAL,
ImmutableList.of(AGGREGATION, ANALYTICS, CURRENCY, PROPERTY, VALUE, VIEW),
Collections.<StaticFunctionConfiguration>emptyList(),
Collections.<ParameterizedFunctionConfiguration>emptyList());
storeFunctionDefinition(financialFunc);
storeFunctionDefinition(STANDARD, DemoStandardFunctionConfiguration.instance());
storeFunctionDefinition(CURVE, IRCurveFunctions.providers(getToolContext().getConfigMaster()));
storeFunctionDefinition(CUBE, BloombergVolatilityCubeFunctions.instance());
FunctionConfigurationDefinition exampleFunc = new FunctionConfigurationDefinition(EXAMPLE,
ImmutableList.of(FINANCIAL, STANDARD, CURVE, CUBE),
Collections.<StaticFunctionConfiguration>emptyList(),
ImmutableList.of(new ParameterizedFunctionConfiguration(FXOptionBlackSurfaceDefaults.class.getName(),
Arrays.asList(DOUBLE_QUADRATIC, LINEAR_EXTRAPOLATOR, LINEAR_EXTRAPOLATOR, "USD", "EUR", "DEFAULT"))));
storeFunctionDefinition(exampleFunc);