move checkRemoveGenericAnnoted in checkSystemConstraint of gs-cache