adding a checker of class annotations