Check annotation class name

[#55968416]
Merge 55968416-contextClass-value-check to master

[Completes #55968416]