internal void ChangeRefsToDefs(ClassDef newPar, ClassDef[] oldTypes) { parent = newPar; sig.ChangeParTypes(newPar,oldTypes); if (code != null) code.ChangeRefsToDefs(newPar,oldTypes); }