Add support for the upcoming '' annotation change...

... while maintaining support for older cores.

This is anticipation of this PR: https://github.com/stapler/stapler/pull/39 getting merged into the Jenkins core.