code: @Nonnull
    @ReturnsImmutableObject
    @CodingStyleguideUnaware
    public static List <Locale> getCalculatedLocaleListForResolving (@Nonnull final Locale aLocale)
    {
      ValueEnforcer.notNull (aLocale, "Locale");
  
      return s_aLocaleListCache.getFromCache (aLocale);
    }
docs: Get a list with all valid locale permutations of the passed locale. If the
  passed locale has no language, always an empty list is returned.<br>
  Examples:
  <ul>
  <li>"de_AT" =&gt; ["de_AT", "de"]</li>
  <li>"en_US" =&gt; ["en_US", "en"]</li>
  <li>"de" =&gt; ["de"]</li>
  <li>"de_DE_Variant" =&gt; ["de_DE_Variant", "de_DE", "de"]</li>
  <li>"" =&gt; []</li>
  <li>"_AT" =&gt; []</li>
  <li>"_AT_Variant" =&gt; []</li>
  </ul>
  
  @param aLocale
  The locale to get the permutation from. May not be <code>null</code>
  .
  @return A non-<code>null</code> unmodifiable list of all permutations of
  the locale, with the most specific locale being first. The returned
  list has never more than three entries. The returned list may have
  no entries, if the passed locale has no language.