title: Keep annotated class in Proguard
body: <p>I have a bunch of classes that use e.g. an @Singleton annotation like so</p>
  
  <pre><code>@Singleton
  public class ImageCache
  </code></pre>
  
  <p>that I would like to keep. How can I configure a proguard -keep statement so it applies to all classes that have that annotation.</p>
  
  <p>Btw in terms of context I need this for an app using Roboguice on Android, which is why I added the tags. Might help others.</p>