class Documentation {

    public List<String> applicableFunctions(ItemDocumentation itemDocumentation)
    {
        List<String> result = new ArrayList<String>();
        List<String> ids = itemDocumentation.getFunctionNames();
        if (ids != null)
        {
            for (String id : ids)
            {
                if (FUNCTION_MAPPING.containsKey(id))
                {
                    result.add(FUNCTION_MAPPING.get(id));
                }
            }
        }
        return result;
    }

}