title: How can I get Enum fields names using reflection in Java?
body: <p>This is my class:</p>
  
  <pre><code>public enum Currency {
      NIS, USD, EUR, GBP, JPY, AUD, CAD, DKK, NOK, ZAR, SEK, CHF, JOD, LBP, EGP;
  
      private String name;
      private int unit;
      private String country;
      private double rate;
      private double change;
  }
  </code></pre>
  
  <p>When I tried to get the fields names of this class using reflection I got the private fields and the enum constants (NIS,EUR,....)</p>
  
  <p>How can I get only the private fields names?</p>