add the annotation for the warning code