IEnrolment enrollment = (IEnrolment) obj;
IEnrollment enrollment = (IEnrollment) obj;
	protected List getAllEnrollmentsInCoursesWhereStudentIsEnrolledAtTheMoment() {		List studentEnrolledEnrollments = this.getStudentEnrolledEnrollments();		final List result = (List) CollectionUtils.collect(				studentEnrolledEnrollments, new Transformer() {					public Object transform(Object obj) {						IEnrolment enrollment = (IEnrolment) obj;						String key = enrollment.getCurricularCourse()								.getCurricularCourseUniqueKeyForEnrollment();						return (key);					}				});		return (List) CollectionUtils.select(this.getEnrolments(),				new Predicate() {					public boolean evaluate(Object obj) {						IEnrolment enrollment = (IEnrolment) obj;						String key = enrollment.getCurricularCourse()								.getCurricularCourseUniqueKeyForEnrollment();						return result.contains(key);					}				});	}