title: How can I get name of the Feign client?
body: <p>I have simple interface:</p>
  
  <pre><code>public interface ServiceClient {
    String REFRESH_ENDPOINT = "/admin/refresh";
    ResponseEntity&lt;String&gt; refresh();
  }
  </code></pre>
  
  <p>and few FeignClients like this:</p>
  
  <pre><code>@FeignClient(name = "${ServiceA.name}", configuration = 
  FeignConfiguration.class, decode404 = true)
  public interface ServiceA extends ServiceClient {
  
    @PostMapping(path = REFRESH_ENDPOINT)
    ResponseEntity&lt;String&gt; refresh();
  }
  </code></pre>
  
  <p>Then I do:</p>
  
  <pre><code>private final List&lt;ServiceClient&gt; services;
  ...
  services.parallelStream()
              .collect(Collectors.toMap(s-&gt; s.getClass().getName(), s-&gt; s.refresh().getStatusCode()));
  </code></pre>
  
  <p>How I can get name of the Feign client? <code>getClass().getName()</code> gives me <code>Proxy154</code>. I would prefer to not create static field in every FeignClient I have.</p>