I don't know what it's used for. It's in the examples provided by the Bukkit devs.