We'd need a special feature in wrap-java to provide the --android-api-versions platforms/android-34/data/api-versions.xml and then parse that, and use that as information for the levels.
Turns out @RequiresApi is a lie and does not exist at all in any APIs in android.jar huh