code: @Deprecated
      public void setLocale(ULocale ulocale) {
          if (ulocale == null) {
              ulocale = ULocale.getDefault(Category.FORMAT);
          }
          init(null, PluralType.CARDINAL, ulocale, null);
      }
docs: Sets the locale used by this <code>PluraFormat</code> object.
  Note: Calling this method resets this <code>PluraFormat</code> object,
  i.e., a pattern that was applied previously will be removed,
  and the NumberFormat is set to the default number format for
  the locale.  The resulting format behaves the same as one
  constructed from {@link #PluralFormat(ULocale, PluralRules.PluralType)}
  with PluralType.CARDINAL.
  @param ulocale the <code>ULocale</code> used to configure the
  formatter. If <code>ulocale</code> is <code>null</code>, the
  default <code>FORMAT</code> locale will be used.
  @see Category#FORMAT
  @deprecated ICU 50 This method clears the pattern and might create
  a different kind of PluralRules instance;
  use one of the constructors to create a new instance instead.
  @hide original deprecated declaration