Add option to limit what classes can have annotations

Bug: 292141694
Test: run-all-tests.sh
Test: atest --no-bazel-mode CtsUtilTestCasesRavenwood

Change-Id: I492206e4b14e02fb3d563c3bc5cd2f0b4907317a
15 files changed