kotlin-stdlib / kotlin / Deprecated / replaceWith replaceWith Common JVM JS Native 1.0 val replaceWith: ReplaceWith If present, specifies a code fragment which should be used as a replacement for the deprecated API usage. Property replaceWith - If present, specifies a code fragment which should be used as a replacement for the deprecated API usage.