commit | bec69f1b6fedbd97abfd4ff81edc575a665f3f69 | [log] [tgz] |
---|---|---|
author | Mathew Inwood <mathewi@google.com> | Tue Aug 21 13:56:00 2018 +0100 |
committer | Mathew Inwood <mathewi@google.com> | Tue Aug 21 15:36:37 2018 +0100 |
tree | 6f0098962ce20c3ed1b0258dd5bfccc78ec5ab6d | |
parent | cf6c442f57b92596790c05969cc409c6f7a87c07 [diff] |
Support for @CovariantReturnType annotations. Add new an annotation handler that writes whitelist entries with a modified signature based on the returnType specified on the annotation. Also add another handler for the inner annotation, which encapsulates multiple @CovariantReturnType when it is repeated. Add unit tests based on the real @CovariantReturnType to verify the logic. Test: atest class2greylisttest Bug: 112186571 Change-Id: I4a51d68a48bb06d2360bd348bb9f342053ceb685