*/
private static SourceModification makeContextifyLinkModification(ModuleTypeInfo moduleTypeInfo, String sourceText, Link.ConsNameWithoutContext segment, ModuleNameResolver.RenameMapping collateralDamageModuleRenameMapping) {
CrossReference.WithoutContextCons oldReference = segment.getReference();
Name.WithoutContextCons cons = oldReference.getName();
Category consCategory = getCategory(moduleTypeInfo, cons);
CALDoc.TextSegment.InlineTag.Link newSegment;
if(consCategory == Category.TOP_LEVEL_FUNCTION_OR_CLASS_METHOD ||
consCategory == Category.LOCAL_VARIABLE ||
consCategory == Category.LOCAL_VARIABLE_DEFINITION) {