title: how to get MicroProfile REST Client annotation in ClientRequestFilter
body: <p>My RestClient is annotated by a custom annotation and I want to get the annotation value in a ClientRequestFilter.</p>
  <p>Here is my MicroProfile RestClient:</p>
  <pre><code>@Path(&quot;/greetings&quot;)
  @RegisterRestClient
  @MyAnnotation(&quot;myValue&quot;) 
  public interface MyRestClient{
  
    @GET
    public String hello();
  }
  </code></pre>
  <p>I want to get the annotation value in my ClientRequestFilter:</p>
  <pre><code>public class MyFilter implements ClientRequestFilter {
  
    @Override
    public void filter(ClientRequestContext requestContext) {
     // Here i want to get the MyAnnotation value. i.e &quot;myValue&quot;
    }
  }
  </code></pre>
  <p>I tried to call the <code>requestContext.getClient().getAnnotations()</code> method but it does not work since <code>requestContext.getClient()</code> is an instance of <code>org.jboss.resteasy.microprofile.client.impl.MpClient</code></p>
  <p>The implementation in question is RESTEasy. I would like to find a way to get this information from both RESTEasy classic and RESTEasy reactive implementations.</p>
  <p>Thanks for your help</p>