Generalize support for importing Java classes as SCL constructors
The current SCL constructor support is somewhat limited. The components of the constructor must be object fields. In this ticket, the support is extended to different scenarios where we want import existing Java classes as constructors.