code: def test_from_java_type(self):
      basic_int_type_info = Types.INT()
      self.assertEqual(
          basic_int_type_info,
          _from_java_type(basic_int_type_info.get_java_type_info()),
      )
  
      basic_short_type_info = Types.SHORT()
      self.assertEqual(
          basic_short_type_info,
          _from_java_type(basic_short_type_info.get_java_type_info()),
      )
  
      basic_long_type_info = Types.LONG()
      self.assertEqual(
          basic_long_type_info,
          _from_java_type(basic_long_type_info.get_java_type_info()),
      )
  
      basic_float_type_info = Types.FLOAT()
      self.assertEqual(
          basic_float_type_info,
          _from_java_type(basic_float_type_info.get_java_type_info()),
      )
  
      basic_double_type_info = Types.DOUBLE()
      self.assertEqual(
          basic_double_type_info,
          _from_java_type(basic_double_type_info.get_java_type_info()),
      )
  
      basic_char_type_info = Types.CHAR()
      self.assertEqual(
          basic_char_type_info,
          _from_java_type(basic_char_type_info.get_java_type_info()),
      )
  
      basic_byte_type_info = Types.BYTE()
      self.assertEqual(
          basic_byte_type_info,
          _from_java_type(basic_byte_type_info.get_java_type_info()),
      )
  
      basic_big_int_type_info = Types.BIG_INT()
      self.assertEqual(
          basic_big_int_type_info,
          _from_java_type(basic_big_int_type_info.get_java_type_info()),
      )
  
      basic_big_dec_type_info = Types.BIG_DEC()
      self.assertEqual(
          basic_big_dec_type_info,
          _from_java_type(basic_big_dec_type_info.get_java_type_info()),
      )
  
      basic_sql_date_type_info = Types.SQL_DATE()
      self.assertEqual(
          basic_sql_date_type_info,
          _from_java_type(
              basic_sql_date_type_info.get_java_type_info()
          ),
      )
  
      basic_sql_time_type_info = Types.SQL_TIME()
      self.assertEqual(
          basic_sql_time_type_info,
          _from_java_type(
              basic_sql_time_type_info.get_java_type_info()
          ),
      )
  
      basic_sql_timestamp_type_info = Types.SQL_TIMESTAMP()
      self.assertEqual(
          basic_sql_timestamp_type_info,
          _from_java_type(
              basic_sql_timestamp_type_info.get_java_type_info()
          ),
      )
  
      row_type_info = Types.ROW([Types.INT(), Types.STRING()])
      self.assertEqual(
          row_type_info,
          _from_java_type(row_type_info.get_java_type_info()),
      )
  
      tuple_type_info = Types.TUPLE([Types.CHAR(), Types.INT()])
      self.assertEqual(
          tuple_type_info,
          _from_java_type(tuple_type_info.get_java_type_info()),
      )
  
      primitive_int_array_type_info = Types.PRIMITIVE_ARRAY(Types.INT())
      self.assertEqual(
          primitive_int_array_type_info,
          _from_java_type(
              primitive_int_array_type_info.get_java_type_info()
          ),
      )
  
      object_array_type_info = Types.OBJECT_ARRAY(Types.SQL_DATE())
      self.assertEqual(
          object_array_type_info,
          _from_java_type(object_array_type_info.get_java_type_info()),
      )
  
      pickled_byte_array_type_info = Types.PICKLED_BYTE_ARRAY()
      self.assertEqual(
          pickled_byte_array_type_info,
          _from_java_type(
              pickled_byte_array_type_info.get_java_type_info()
          ),
      )
  
      sql_date_type_info = Types.SQL_DATE()
      self.assertEqual(
          sql_date_type_info,
          _from_java_type(sql_date_type_info.get_java_type_info()),
      )
  
      map_type_info = Types.MAP(Types.INT(), Types.STRING())
      self.assertEqual(
          map_type_info,
          _from_java_type(map_type_info.get_java_type_info()),
      )
  
      list_type_info = Types.LIST(Types.INT())
      self.assertEqual(
          list_type_info,
          _from_java_type(list_type_info.get_java_type_info()),
      )
  
imports: from pyflink.common.typeinfo import Types, RowTypeInfo, TupleTypeInfo, _from_java_type
  from pyflink.testing.test_case_utils import PyFlinkTestCase
label_desc: Use image node_id 3 for calling the TypeInfoTests obj's underlying member method code with example usage: obj.test_from_java_type() without return types