// "Join declaration and assignment" "GENERIC_ERROR_OR_WARNING"
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;

class C {
    void foo() {
        @A int n;
        <caret>n = 1;
    }
    @Target(ElementType.LOCAL_VARIABLE) @interface A {}
}