code: public static final String getClassName(String internalName) {
          final StringBuffer ret = new StringBuffer(internalName.length());
          for (int i = 0; i < internalName.length(); i++) {
              final char ch = internalName.charAt(i);
              switch (ch) {
              case '$':
              case '/':
                  ret.append('.');
                  break;
              default:
                  ret.append(ch);
              }
          }
          return ret.toString();
      }
docs: Get the java class name given an internal class name.
  This method currently replaces all instances of $ and / with . this
  may not be according to the java language spec, and will almost
  certainly fail for some inner classes.
  
  @param internalName The internal name of the class.
  @return The java class name.