code: public static String getLoadableName( TypeDeclaration jclass )
      {
          TypeDeclaration containingClass = jclass.getDeclaringType();
          
          if ( containingClass == null )
          {
              return jclass.getQualifiedName();
          }
          else
          {
              return getLoadableName( containingClass ) + '$' + jclass.getSimpleName();
          }
      }
docs: Get the qualified name of the given class, with '$' used to separate inner classes; the returned string can be
  used with Class.forName().