code: def __init__(self, java_obj, *args):
      super(ExtendedJavaWrapper, self).__init__(java_obj)
      self.sc = SparkContext._active_spark_context
      self._java_obj = self.new_java_obj(java_obj, *args)
      self.java_obj = self._java_obj
  
file_path: spark-nlp/python/sparknlp/internal/extended_java_wrapper.py
imports: from pyspark import SparkContext
  from pyspark.ml.wrapper import JavaWrapper
  from pyspark.sql import DataFrame
  from distutils.version import LooseVersion
label_desc: Use image node_id 1 to create a new ExtendedJavaWrapper object from inherited base classes: JavaWrapper with example: obj = ExtendedJavaWrapper(java_obj)