title: Passing the primitive type and calling methods via reflection
body: <p>I am working on a kind of Framework. Here I will have to call a particular method on a particular class with particular parameters. I will receive parameter values in string form.</p>
  
  <p>like inputs will be,</p>
  
  <hr>
  
  <p>class name : com.classes.MyClass</p>
  
  <p>method name : setPrimtiveType</p>
  
  <p>Value : "true"</p>
  
  <p>type of value : boolean</p>
  
  <hr>
  
  <p>Here the problem is that the method I am trying to call via reflection accepts primitive type.
  this type is also an input to set the particular parameter.</p>
  
  <p>I am not getting any in reflection so this can be achieved.</p>