if (evaluation instanceof Exam){
if (evaluation instanceof IExam){
    public void copyFromDomain(IExecutionCourse executionCourse) {        super.copyFromDomain(executionCourse);        if (executionCourse != null) {            List<IExam> associatedExams = new ArrayList();            List<IEvaluation> associatedEvaluations = executionCourse.getAssociatedEvaluations();            for(IEvaluation evaluation : associatedEvaluations){                if (evaluation instanceof Exam){                    associatedExams.add((IExam) evaluation);                }            }            setAssociatedInfoExams(copyIExam2InfoExam(associatedExams));        }    }