if (positionNode == null) return;
int start = positionNode.getPosition().getStart();
if (start == -1) return;
if (linked instanceof JavadocContainer || !nodePositions.containsKey(start)) {
nodePositions.put(start, linked);
}
}
private void addToMap(StrictListAccessor<?, ?> nodes, Node linked) {