public static String string_javaMakeCodeOutputFileName(String barefile, boolean donttruncateP) {
    if (donttruncateP) {
      { Object old$DonttruncatefilenamesP$000 = Stella.$DONTTRUNCATEFILENAMESp$.get();

        try {
          Native.setBooleanSpecial(Stella.$DONTTRUNCATEFILENAMESp$, true);
          return (Stella_Object.makeFileNameFromRelativePath(StringWrapper.wrapString(barefile), Stella.KWD_JAVA));

        } finally {
          Stella.$DONTTRUNCATEFILENAMESp$.set(old$DonttruncatefilenamesP$000);
        }
      }
    }
    else {
      return (Stella_Object.makeFileNameFromRelativePath(StringWrapper.wrapString(barefile), Stella.KWD_JAVA));
    }
  }