AW: presubmit check for annotated InvocationHandlers in support lib
This adds a presubmit check in the support library that all references to InvocationHandlers should be annotated with the type they represent. Annotations take the form of comments: /* RetType */ InvocationHandler m(/* ParamType */ InvocationHandler p); This intentionally skips import statements. The presubmit check is only a warning, in case of false-positive. Bug: 842022 Test: git cl presubmit -f --upload Change-Id: I298d488d14f4fe828b02f4ac062bba6d4b1e9ae8 Reviewed-on: https://chromium-review.googlesource.com/1059009Reviewed-by:Richard Coles <torne@chromium.org> Commit-Queue: Nate Fischer <ntfschr@chromium.org> Cr-Commit-Position: refs/heads/master@{#558817}
Showing
Please register or sign in to comment