code: public CmsMacroResolver getMacroResolver() {
  
          if (m_macroResolver == null) {
              // create a new macro resolver "with everything we got"
              m_macroResolver = CmsMacroResolver.newInstance()
                  // initialize resolver with the objects available
                  .setCmsObject(m_cms).setMessages(getMessages()).setJspPageContext(
                      (m_jsp == null) ? null : m_jsp.getJspContext());
              m_macroResolver.setParameterMap(m_parameterMap);
          }
          return m_macroResolver;
      }
docs: Returns the current used macro resolver instance.<p>
  
  @return the macro resolver