[ https://issues.apache.org/jira/browse/APEXMALHAR-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vlad Rozov updated APEXMALHAR-2485: ----------------------------------- Description: Currently, PojoUtils only supports getters and setters. It should be possible to extend PojoUtils to support constructors as well. {code} public interface PojoConstructor { Object newInstance(); } PojoConstructor pojoConstructor = (PojoConstructor)evaluator.createFastEvaluator("return new Pojo();", PojoConstructor.class, null); pojoConstructor.newInstance(); {code} > PojoUtils should support empty constructors for Pojos > ----------------------------------------------------- > > Key: APEXMALHAR-2485 > URL: https://issues.apache.org/jira/browse/APEXMALHAR-2485 > Project: Apache Apex Malhar > Issue Type: Improvement > Reporter: Vlad Rozov > > Currently, PojoUtils only supports getters and setters. It should be possible > to extend PojoUtils to support constructors as well. > {code} > public interface PojoConstructor { > Object newInstance(); > } > PojoConstructor pojoConstructor = > (PojoConstructor)evaluator.createFastEvaluator("return new Pojo();", > PojoConstructor.class, null); > pojoConstructor.newInstance(); > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)