Add error-prone plugin to verify string literals for trace events

The java trace event strings cannot be checked for string literals at
runtime. So, add a compile time check to verify that all uses are
passing in string constants.
A few exceptions are marked with suppress warnings.

Total overhead of running the plugin is about 100ms with 20ms
measurement overhead.


Change-Id: Ia10fe6f9f255c7402936a287bdde8b86684dbd71
Reviewed-by: oysteine <>
Reviewed-by: Tommy Nyquist <>
Commit-Queue: ssid <>
Cr-Original-Commit-Position: refs/heads/master@{#678527}
Cr-Mirrored-Commit: 5c8058b795a55a121b491e0b2a4bce7360938ff7
2 files changed