code: private String getScalaClassName(PsiClass c) {
      String baseName = c.getName();
      return baseName.replaceAll("\\$", "");
    }
docs: Given a Java class or a Scala class OR object, gets the underlying class name.
  
  Object names have $ appended