title: How to find the instances of a class in Java Virtual Machine?
body: <p>I want to test one of the class in a big project, however I cannot modify any files of the project (thus static public arrays are not the case).</p>
  
  <p>Beside this, I can only initialize the framework of project (to be tested) but again there is no reference to objects.</p>
  
  <p>The only thing I have, my test class and framework is running on the same Java Virtual machine.</p>
  
  <p>Therefore, I want to reach the instances of a single class from my test class. </p>
  
  <p>How can I find them in Virtual machine?</p>