public static String javaYieldFlotsamTypeName(String flotsamClassName) {
    { int lastPeriod = Stella.NULL_INTEGER;
      int nextPeriod = Native.string_position(flotsamClassName, '.', 0);
      String bareClassName = null;

      while (nextPeriod != Stella.NULL_INTEGER) {
        lastPeriod = nextPeriod;
        nextPeriod = Native.string_position(flotsamClassName, '.', nextPeriod);
      }
      if (lastPeriod != Stella.NULL_INTEGER) {
        bareClassName = Native.string_subsequence(flotsamClassName, lastPeriod, Stella.NULL_INTEGER);
      }
      else {
        bareClassName = flotsamClassName;
      }
      return (Stella.makeMatchingNameFull(bareClassName, Stella.KWD_YES, Stella.KWD_NO, "_", "", "", "", "", Stella.KWD_UPCASE, "-"));
    }
  }