IEnrolment enrollment = (IEnrolment) obj;
IEnrollment enrollment = (IEnrollment) obj;
					public Object transform(Object obj) {						IEnrolment enrollment = (IEnrolment) obj;						if (enrollment instanceof IEnrolmentInOptionalCurricularCourse) {							return (((IEnrolmentInOptionalCurricularCourse) enrollment)									.getCurricularCourseForOption());						} else {							return enrollment.getCurricularCourse();						}					}