Don't throw exception when parent class is not an Annotation