title: Jasper Reports: How does one call a java method with a int parameter from a JasperDesign class
body: <p>I've used jasper without using xml (I must change this still) but I have an implementation of a JasperDesign that i make use of ... I create a JRDesignTextField with a JRDesignExpression, </p>
  
  <p>I would like to setup the expression so that I can get jasper to call a method on each element within a JRBeanCollectionDataSource with a integer parameter... currently i can only call methods that returns a value and take in no arguments. The expression for this is shown below:</p>
  
  <p>final JRDesignExpression exp = new JRDesignExpression();
    exp.setValueClass(String.class);
    exp.setValueClassName(String.class.getName());
    exp.addFieldChunk("column0");  </p>