if(curricularCourseExists(curricularCoursesToBeEnrolledIn,COMPLEMENTOS_INVESTIGACAO_OPERACIONAL_CODE)){
if(isEnrolledInExecutionPeriod(COMPLEMENTOS_INVESTIGACAO_OPERACIONAL_CODE, enrolments)){
    public List apply(List curricularCoursesToBeEnrolledIn) {                if(curricularCourseExists(curricularCoursesToBeEnrolledIn,COMPLEMENTOS_INVESTIGACAO_OPERACIONAL_CODE)){            removeCurricularCourse(curricularCoursesToBeEnrolledIn,AVALIACAO_PROJECTOS_DECISAO_PUBLICA_CODE);        }        else            if(curricularCourseExists(curricularCoursesToBeEnrolledIn,AVALIACAO_PROJECTOS_DECISAO_PUBLICA_CODE)){                removeCurricularCourse(curricularCoursesToBeEnrolledIn,COMPLEMENTOS_INVESTIGACAO_OPERACIONAL_CODE);            }        return curricularCoursesToBeEnrolledIn;            }