code: public static String getQualifiedBundleName( String bundleName, ServletRequest request )
      {
          if ( bundleName != null )
          {
              if ( bundleName.indexOf( '/' ) == -1 )
              {
                  ModuleConfig mc = ( ModuleConfig ) request.getAttribute( Globals.MODULE_KEY );
  
                  // Note that we don't append the module path for the root module.
                  if ( mc != null && mc.getPrefix() != null && mc.getPrefix().length() > 1 )
                  {
                      bundleName += mc.getPrefix();
                  }
              }
              else if ( bundleName.endsWith( "/" ) )
              {
                  // Special handling for bundles referring to the root module -- they should not have
                  // the module path ("/") at the end.
                  bundleName = bundleName.substring( 0, bundleName.length() - 1 );
              }
          }
  
          return bundleName;
      }
docs: Qualify the given bundle name with the current module path to return a full bundle name.
  
  @return the qualified Bundle name