private List<ProcessingPhase> createPhaseList(boolean importedDocument) {
private List<ProcessingPhase> createPhaseList() {
    private List<ProcessingPhase> createPhaseList(boolean importedDocument) {        List<ProcessingPhase> phases = new ArrayList<ProcessingPhase>(8);        //register the protos        phases.add(new RegisterPrototypesProcessor());        //imports        phases.add(new ImportProcessor());        //extract all reference bindings        phases.add(ExtractReferenceOperation.createPhase());        //do the extends processing        phases.add(new ExtendsProcessor());        //debug builds and a sanity check        if (Constants.POLICY_DEBUG_RELEASE) {            phases.add(VerifyExtendsComplete.createPhase());        }        //now do early references        phases.add(new EarlyReferenceProcessor());        return phases;    }