def _new_java_obj(sc, java_class, *args):
java_obj = _jvm()<EOL>for name in java_class.split("<STR_LIT:.>"):<EOL><INDENT>java_obj = getattr(java_obj, name)<EOL><DEDENT>java_args = [_py2java(sc, arg) for arg in args]<EOL>return java_obj(*java_args)<EOL>
Construct a new Java object.