[]
// pass
if (inputElement instanceof WayPoint[]) { return (WayPoint[])inputElement; } return new Object[0];