title: Reflections could not get class type
body: <p>I am using a third party library called <a href="http://code.google.com/p/reflections" rel="nofollow noreferrer">Reflections</a> (not to be mistaken with Java <a href="https://www.oracle.com/technical-resources/articles/java/javareflection.html" rel="nofollow noreferrer">reflection</a>) to search another jar for Classes that extend <code>Foo</code>  using the following code:</p>
  <pre><code>Reflections reflections = new Reflections(&quot;com.example&quot;);
  for(Class&lt;? extends Foo&gt; e : reflections.getSubTypesOf(Foo.class)) {
      doSomething()
  }
  </code></pre>
  <p>When I do this Reflections throws the following error:</p>
  <pre><code>org.reflections.ReflectionsException: could not get type for name com.example.ExtendsFoo
  </code></pre>
  <p>Does anyone know how to fix this cause I'm stumped?</p>
  <p>Thanks in advance!</p>