title: How to identify setter method using property name?
body: <p>Can we find setter method name using property name?</p>
  
  <p>I have a dynamically generated <code>map&lt;propertyName,propertyValue&gt;</code></p>
  
  <p>By using the key from map (which is propertyName) I need to invoke the appropriate setter method for object and pass the value from map (which is propertyValue).</p>
  
  <pre><code>class A {
      String name;
      String age;
  
      public String getName() {
          return name;
      }
      public void setName(String name) {
          this.name = name;
      }
      public String getCompany() {
          return company;
      }
      public void setCompany(String company) {
          this.company = company;
      }
  }
  </code></pre>
  
  <p>My map contain two items: </p>
  
  <pre><code>map&lt;"name","jack"&gt;
  map&lt;"company","inteld"&gt;
  </code></pre>
  
  <p>Now I am iterating the map and as I proceed with each item from map, based on key (either name or company) I need to call appropriate setter method of class A 
  e.g. for first item I get name as key so need to call new A().setName.</p>