• Nate Fischer's avatar
    AW: presubmit check for annotated InvocationHandlers in support lib · 84dc1107
    Nate Fischer authored
    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: default avatarRichard Coles <torne@chromium.org>
    Commit-Queue: Nate Fischer <ntfschr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#558817}
    84dc1107
PRESUBMIT.py 2.18 KB