if (evaluation instanceof Proxy) { evaluation = (IEvaluation) ProxyHelper.getRealObject(evaluation); }
    public static InfoEvaluation newInfoFromDomain(IEvaluation evaluation) {        InfoEvaluation infoEvaluation = null;        if (evaluation != null) {            if (evaluation instanceof IWrittenEvaluation) {                infoEvaluation = InfoWrittenEvaluation                        .newInfoFromDomain((IWrittenEvaluation) evaluation);            } else if (evaluation instanceof IFinalEvaluation) {                infoEvaluation = InfoFinalEvaluation.newInfoFromDomain((IFinalEvaluation) evaluation);            } else if (evaluation instanceof IOnlineTest) {                infoEvaluation = InfoOnlineTest.newInfoFromDomain((IOnlineTest) evaluation);            } else {                infoEvaluation = new InfoEvaluation();                infoEvaluation.copyFromDomain(evaluation);            }        }        return infoEvaluation;    }