Fixes issue 1985.  Moved all subtype tests into JClassType.  Added a new superclass for JParameterizedType and JRawType to make the new subtype tests simpler.

Also implemented JWildcardType.getErasedType() since it was using JDelegatingClassType's version which was wrong.


Patch by: mmendez, rdayal, spoon
Review by: spoon, rdayal, mmendez

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1791 8db76d5a-ed1c-0410-87a9-c151d255dfc7
17 files changed