Simplify use cases / split up to-java


  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:


Issues with a single compound to-java method

The common to-java implementation for [Object Map], hard codes:

  • no constructor args
  • setters with java bean convention
    Often times, classes need special treatment during construction. E.g. if the constructor(s) take parameters, or the setters are non-standard.
    The to-java method can be specialized to achive that, however, at this point one is bound to reimplementing (or pasting) parts from source, since all the helpers in are private.

Proposed Enhancements

  • API to call a bunch of setters a la carte
  • a well known keyword to pass constructor args
  • other functionality might be made public, if it's useful in its own right


There are no comments yet on this issue.


Vote (0)
Watch (0)


  • Created: