title: Proguard won't keep a class member's enums
body: <p>I'm working on a library that is distributed as a java jar, and I'm running proguard on it in such a way as to only leave the required interfaces exposed. I have a configuration class with a bunch of member variables and some enum defines. My proguard script preserves the member variables fine, however, the enum definitions are being obfuscated. I've tried everything I can think of to force proguard to retain these internally defined and public enums, but I can't get it to work.</p>
  
  <p>Right now I'm using:</p>
  
  <pre><code>-keep public class com.stuff.MyConfigObject {
      public *;
  }
  
  -keepclassmembers enum * {
      public static **[] values();
      public static ** valueOf(java.lang.String);
  }
  </code></pre>
  
  <p>If I try:</p>
  
  <pre><code>-keep public enum com.stuff.MyConfigObject.MyEnum
  </code></pre>
  
  <p>I get an ambiguous error: 
  "Note: the configuration refers to the unknown class 'com.stuff.MyConfigObject.MyEnum'"</p>
  
  <p>Thanks for the help!</p>