modify qualifiedname and typedeclaration