title: "Iterating" through methods
body: <p>Let's say I've got a Java object that's got among others the following methods:</p>
  
  <pre><code>public String getField1();
  public String getField2();
  public String getField3();
  public String getField4();
  public String getField5();
  </code></pre>
  
  <p>Is there a way to iterate through these methods and call 'em like the following code?</p>
  
  <pre><code>String fields = "";
  for(int i = 1; i &lt;= 5; i ++){
     fields += object.(getField+i) + " | ";
  }
  </code></pre>
  
  <p>Thank you for your upcoming ideas.</p>