javadoc in pathfinding