if (extensions != null) {
for (Object any : extensions.getAny()) {
if (any instanceof JAXBElement) {
Object anyValue = ((JAXBElement) any).getValue();
if (anyValue instanceof RoutePointExtensionT) {
RoutePointExtensionT routePoint = (RoutePointExtensionT) anyValue;
for (AutoroutePointT autoroutePoint : routePoint.getRpt()) {
positions.add(new GpxPosition(autoroutePoint.getLon(), autoroutePoint.getLat(), null, null, null, null, null, null, null, null, null, null));
}
}
}
}