adding java doc to the MerlinBuilder