Use another approach for the tools.jar dep - don't use the <optional>true which causes brokenness in maven compiler, instead just disable the profile automatically when the file isn't found.
Merge branch 'master' into injectOnFinalField
refactored to use new error-prone API
error-prone changed so that it now compiles on warnings, so I changed the test to reflect this