docs: public boolean matches (@Nonnull final String sPathPart)
    {
      if (m_bIsVariable)
      {
        // Check additional constraints
        if (m_aVariableConstraints != null)
          for (final PathDescriptorVariableConstraint aVariableConstraint : m_aVariableConstraints)
            if (!aVariableConstraint.matches (sPathPart))
              return false;
  
        // Variables match if all constraints match
        return true;
      }
  
      // Static path part - string equals
      return m_sName.equals (sPathPart);
    }