if (isDual()) {
if (isDual() && mr != null) {
    private ResolvedModuleRevision resolvedRevision(ResolvedModuleRevision mr) {        if (isDual()) {            return new ResolvedModuleRevisionProxy(mr, this);        } else {            return mr;        }    }