code: def FormatClassToPython(i):
      
      i = i[:-1]
      i = i.replace("/", "_")
      i = i.replace("$", "_")
  
      return i
docs: Transform a typed class name into a form which can be used as a python
      attribute
  
      example::
  
          >>> FormatClassToPython('Lfoo/bar/foo/Barfoo$InnerClass;')
          'Lfoo_bar_foo_Barfoo_InnerClass'
  
      :param i: classname to transform
      :rtype: str