title: Is it possible to get static property by class name?
body: <p>For example, I need to get static property from one of my own classes Class1 or Class2 (property name is same for both classes) depend user action. I have only class name in String variable. How to get this property?</p>
  
  <p>Certainly I can to do this:</p>
  
  <pre><code>InfoClass ic;
  if(className.equals("Class1")) {
      ic=Class1.prop;
  } else if(className.equals("Class2")) {
      ic=Class2.prop;
  }
  </code></pre>
  
  <p>But that is not so fine solution, I think... Is there another way to implement this?</p>