MutableCachedNode parent = targetCache.mutable(parentKey);
// Add a link at the end ...
if (parent.linkChild(targetCache, linkableKey, placeholder.getName(targetCache))) {
// Move the link (there can only be one per parent) before the placeholder ...
parent.reorderChild(targetCache, linkableKey, placeholderKey);
}
// And finally remove the placeholder ...
parent.removeChild(targetCache, placeholderKey);