Update the Java doc based on the new parameters.