public void moveContents(ScopeHolder fromSH) { if (fromSH == null) return; // update the fully qualified id of each declaration for (Enumeration decls = fromSH.elements(); decls.hasMoreElements(); ) { Declaration decl = (Declaration) decls.nextElement(); ScopedName new_fqn = this.fqnToHere(decl.getUnqualifiedName()); d.msg( Debug.COMPILE, "parameter fqn was " + decl.getName().getName() + ", is now " + new_fqn.getName()); decl.setName(new_fqn); } // rest of move procedure super.moveContents(fromSH); }