code: def _mml_make_java_param_pair(self, param, value):
      """
      Makes a Java param pair.
      """
      sc = SparkContext._active_spark_context
      param = self._resolveParam(param)
      java_param = self._java_obj.getParam(param.name)
      java_value = _mml_py2java(sc, value)
      return java_param.w(java_value)
  
file_path: SynapseML/core/src/main/python/synapse/ml/core/serialize/java_params_patch.py
imports: from pyspark.ml.wrapper import JavaParams, JavaWrapper
  from py4j.java_gateway import JavaObject
  from pyspark import RDD, SparkContext
  from pyspark.serializers import PickleSerializer, AutoBatchedSerializer
  from pyspark.sql import DataFrame, SQLContext
  from pyspark.ml.common import _to_java_object_rdd, _java2py
  import pyspark
  from pyspark.ml import PipelineModel
  from pyspark.sql.types import DataType
label_desc: Use image node_id 3 for calling a global function with example usage: _mml_make_java_param_pair(param, value) and returns: java_param