code: @Nullable
    public static ICommonsList <CSSMediaQuery> parseToMediaQuery (@Nullable final String sMediaQuery,
                                                                  @Nonnull final ECSSVersion eVersion)
    {
      if (StringHelper.hasNoText (sMediaQuery))
        return null;
  
      final String sCSS = "@media " + sMediaQuery + " {}";
      final CascadingStyleSheet aCSS = CSSReader.readFromString (sCSS, eVersion);
      if (aCSS == null)
        return null;
  
      final CSSMediaRule aMediaRule = aCSS.getAllMediaRules ().get (0);
      return aMediaRule.getAllMediaQueries ();
    }
docs: Utility method to convert a media query string to a structured list of
  {@link CSSMediaQuery} objects.
  
  @param sMediaQuery
  The media query string to parse. May be <code>null</code>.
  @param eVersion
  The CSS version to use. May not be <code>null</code>.
  @return <code>null</code> if the passed media query is <code>null</code> or
  empty or not parsable.