Map<String, Map<String, Param>> wadlCommonSubResourceParams = new HashMap<String, Map<String, Param>>();
// Mapping resource path to resource.
Map<String, org.exoplatform.services.rest.wadl.research.Resource> wadlSubResources =
new HashMap<String, org.exoplatform.services.rest.wadl.research.Resource>();
SubResourceMethodMap subresourceMethods = resourceDescriptor.getSubResourceMethods();
for (ResourceMethodMap<SubResourceMethodDescriptor> rmm : subresourceMethods.values())
{
for (List<SubResourceMethodDescriptor> l : rmm.values())
{
for (SubResourceMethodDescriptor srmd : l)
{