Details
Description
com.thoughtworks.qdox.model.JavaSource.resolveTypeInternal doesn't respect the type name resolution rules imposed by Java (see http://java.sun.com/docs/books/jls/second_edition/html/names.doc.html#106941). In particular, it will fail to resolve unqualified references to nested types that are either within the current parsing scope, or whose outer types have been imported explicitly.
It also doesn't deal with array types, though arguably that might be somebody else's responsibility.
Piotr, any chance you could upload a testcase? It's ok if it fails, but a proper testcase makes it easier for us to fix the bug.