| Return the type of a CtNewClass element.
Deals with anonymous class instanciation
e.g. new Thread(){ public void run(){} }
or new Runnable(){ public void run(){} }
We don't use the CtTypeReference of the anonymous class which is
under-defined with spoon (e.g. simpleName == "") but the CtTypeReference
of the superclass (Thread in the example) or of the superinterface.
|