Cache annotations as well to avoid getAnnotations in checkValidIdType
method of Validator in JOhmUtils.java.