title: How to instantiate objects whose constructor requires parameters from a string holding the class name?
body: <p><a href="https://stackoverflow.com/questions/582331/is-there-a-way-to-instantiate-objects-from-a-string-holding-their-class-name">Is there a way to instantiate objects from a string holding their class name? </a></p>
  
  <p>I got a problem basically the same with the above question. But I need to instantiate a class with some parameters. different class constructor name may require different number of variables and the type of each variable may differ either. And because the class contains constant variables so you could not new it with new T() and then set the parameter to the correct value. the "class name"-"constructor" map seems not suitable for my needs.</p>
  
  <p>Any alternatives?</p>