Fixes issue 2033.  Leveraged JDT's computed constant value for an expression instead of the actual written expression.  Also dealt with:

* Implicit conversion of primitives in the annotation value expressions.  
* Implicit array initializers in default annotation value expressions.
* Erroneous assertions in the AnnotationProxyInvocationHandler when the return type was a primitive.

Found by: tobyr
Patch by: mmendez
Review by: jat

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