reflection helper refactor & checkAnnotationIntegrityErrors in base Command class