title: getting the properties/fields using java reflection?
body: <p>I have a POJO with 6 properties as below. i need get only 5 field names using reflection.</p>
  
  <pre><code>class Employee {
  
  private Long id;
  private String address;
  private String phone;
  private String firstName;
  private String lastName;
  private String designation;
  
  //getters and setters
  
  }
  </code></pre>
  
  <p>but i would like to get only 5 field names except 'phone' using java reflection getFields(). how can i get the field names? is it possible to get only specific field names instead of all field names from the pojo?</p>
  
  <p>Thanks!</p>