Adding field hasAnnotation