Generate local variable annotations