Fix BuildInvocations javadoc.