Fixes a bug where temp local declarations could sometimes end up in a for statement's increments list.

Also adds Context.isLvalue() to the Java AST, mirroring the JsContext from the JS AST.

http://gwt-code-reviews.appspot.com/677801/show
Review by: bowdidge@google.com, spoon


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