title: Unable to fetch classes of a package using Reflection
body: <p><a href="https://i.stack.imgur.com/TnqIJ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TnqIJ.jpg" alt="enter image description here" /></a></p>
  <p>From the above image, when i am trying to fetch all classes under &quot;tests&quot;, i am getting empty array.</p>
  <pre><code>    Reflections reflections = new Reflections(&quot;tests&quot;);
      //Reflections reflections = new Reflections(&quot;src.test.java.tests&quot;); Tried but still empty array
  
       Set&lt;Class&lt;? extends Object&gt;&gt; allClasses =  reflections.getSubTypesOf(Object.class); //Getting empty array here
       Class[] arrayCls=new Class[allClasses.size()];
       allClasses.toArray(arrayCls);
  </code></pre>
  <p>Can someone please help me how to get array of classes?</p>