Refactor ManualPermissionCheckDetector for @PermissionMethod

Uses @PermissionMethod/@PermissionName annotations to find and auto-fix
"manual" permission checks that can be migrated to @EnforcePermission
(as opposed to a hard-coded list of known permission methods).

Bug: 247537842
Test: ManualPermissionCheckDetectorTest
Change-Id: Ibd842f0e64e2006954bffa24c7fe394903dd7b61
5 files changed