Fix rewrite for ANNOTATION slice (EA-49336)
Annotation on object test
Report unsupported annotations for local variables