class_docstr: Wrapper class for a Java companion object
class_docstr_tok: ["Wrapper","class","for","a","Java","companion","object"]
docstr: Construct this object from given Java classname and arguments
docstr_tok: ["Construct","this","object","from","given","Java","classname","and","arguments"]
code: def _create_from_java_class(
      cls: Type[JW], java_class: str, *args: Any
  ) -> JW:
      """
      Construct this object from given Java classname and arguments
      """
      java_obj = JavaWrapper._new_java_obj(java_class, *args)
      return cls(java_obj)
  
imports: from abc import ABCMeta, abstractmethod
  from typing import Any, Generic, Optional, List, Type, TypeVar, TYPE_CHECKING
  from pyspark import since
  from pyspark import SparkContext
  from pyspark.sql import DataFrame
  from pyspark.ml import Estimator, Predictor, PredictionModel, Transformer, Model
  from pyspark.ml.base import _PredictorParams
  from pyspark.ml.param import Param, Params
  from pyspark.ml.util import _jvm
  from pyspark.ml.common import inherit_doc, _java2py, _py2java
label_desc: Use image node_id 3 for calling the JavaWrapper obj's underlying member method code with example usage: obj._create_from_java_class(cls, java_class) and returns: cls