ToplevelList newSystem; newSystem = (ToplevelList) resolveChildExtends(target); ResolveEnum state = newSystem.aggregateResolutionState(); if (!state.isParseTimeResolutionComplete()) { throw new CdlInternalErrorException("Incomplete parse time resolution"); } return newSystem;
ToplevelList newList; newList = (ToplevelList) resolveChildExtends(target); verifyCompletelyExtended(newList); return newList;
    private ToplevelList resolveToplevel(ToplevelList target) throws CdlException {        ToplevelList newSystem;        newSystem = (ToplevelList) resolveChildExtends(target);        ResolveEnum state = newSystem.aggregateResolutionState();        if (!state.isParseTimeResolutionComplete()) {            throw new CdlInternalErrorException("Incomplete parse time resolution");        }        return newSystem;    }