Do not workaround javac bug that leads to wrong parameter annotations.

ASM internally corrects the number of parameter annotations when javac
gets it wrong. It does so by using a non-existing java.lang.Synthetic
annotation. In the MethodWriter it then undoes that again so that the
output will maintain the javac bug. Since we are not using the
MethodWriter, we get only half of the workaround, namely the bit that
adds these fake annotations. We therefore have to filter them out
ourselves to get the right (wrong) behavior. :)

R=zerny@google.com

Bug: 62300145
Change-Id: Ieec7d165d8b2a6eb664f965693de76801e691bb8
3 files changed
tree: 7f465e2c1d86e6b533cf50dd8c54f873cd5fc7b4
  1. buildSrc/
  2. scripts/
  3. src/
  4. tests/
  5. third_party/
  6. tools/
  7. .gitignore
  8. AUTHORS
  9. build.gradle
  10. codereview.settings
  11. CONTRIBUTING.md
  12. copyAdditionalJctfCommonFiles.gradle
  13. LICENSE
  14. README.md
README.md

The R8 repo contains two tools.

  1. D8 is a dexer that converts java byte code to dex code.

  2. R8 is a java program shrinking and minification tool.