Update unsupportedappusage annotation processor for JDK 17

JDK 17 no longer allows access to com.sun.tools.javac.code by default,
use the public APIs instead.

Bug: 219098645
Test: m checkbuild
Change-Id: If7abf65989c0f92165f0edd34b1b3216c6f275a4
1 file changed
tree: 801658175a800444dbfb9d258df83392751916bd
  1. build/
  2. hiddenapi/
  3. java/
  4. javatest/
  5. Android.mk
  6. OWNERS
  7. README.md
README.md

Platform compat tools

Tools for Android App Compat (go/android-compat).

What's in here?

├── build # python helper scripts for build
├── java # All Java source files; directories follow corresponding java packages
│   └── android
│       ├── compat
│       │   └── annotation # Annotations used for go/compat-framework and go/unsupportedappusage
│       └── processor
│           └── compat  # Java annotation processors for annotations defined in src/
│               ├── changeid # Creates compat_config xml files from @ChangeId constants
│               └── unsupportedappusage # Creates csv files with source positions for @UnsupportedAppUsage elements
└── javatest # Tests for source files defined under java/