public synchronized NextDirectionInfo getNextRouteDirectionInfoAfter( NextDirectionInfo previous, NextDirectionInfo to, boolean toSpeak) { NextDirectionInfo i = route.getNextRouteDirectionInfoAfter(previous, to, toSpeak); if (i != null) { i.imminent = voiceRouter.calculateImminent(i.distanceTo, null); } return i; }