def __init__(self, payload=None, artifacts=None, **kwargs):
    jar_objects, self._library_specs = self._split_jars_and_specs(artifacts or ())
    payload = payload or Payload()
    payload.add_fields({
      'artifacts': JarsField(jar_objects),
    })
    super(ManagedJarDependencies, self).__init__(payload=payload, **kwargs)
:param artifacts: List of `jar <#jar>`_\s or specs to jar_library targets with pinned versions.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/targets/managed_jar_dependencies.py/ManagedJarDependencies.__init__