/code> method (<code>@GET</code>, <code>@Custom</code>) as well as all the
 annotations from the <code>extras</code> field, provided this value has not been replaced by any container response filter
 invoked earlier.
 </p>
 <p>
 Similarly:
 </p>

 <pre>
 &#64;Custom
 public class AnnotatedMe { ... }

 &#64;Path("my-resource")
 public class MyResource {
   private final Annotations[] extras = ... ;

   &#64;GET
   public AnnotatedMe getMe() {
     return Response.ok().entity(new AnnotatedMe(), extras).build(