added setAnnotation to ECMAScript3 syntax HasAnnotation class