Fix JNI generator for final args with annotations.

This removes the final keyword before parsing the annotations to support
the following (valid) method signatures:

@CalledByNative void Foo(final @Bar int value);
@CalledByNative void Foo(@Bar final int value);
@CalledByNative void Foo(@Bar final @Baz int value);

Bug: 977593
Change-Id: I7ef87dc7c16353ab74bf7cca533bc893dbebe7fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1670891
Reviewed-by: Eric Stevenson <estevenson@chromium.org>
Commit-Queue: Richard Knoll <knollr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672029}
4 files changed