if (pos >= 0) {
buffer.replace(pos, pos + name.length(), var.getValue());
}
}
return buffer.toString();
<BUG>}
public static File createTempExecutableScript(@NotNull final String prefix,</BUG>
@NotNull final String suffix,
@NotNull final String source) throws IOException, ExecutionException {
final File tempFile = FileUtil.createTempFile(prefix, suffix);

if (pos >= 0) {
buffer.replace(pos, pos + name.length(), var.getValue());
}
}
return buffer.toString();
}
@NotNull
public static File createTempExecutableScript(@NotNull final String prefix,
@NotNull final String suffix,
@NotNull final String source) throws IOException, ExecutionException {
final File tempFile = FileUtil.createTempFile(prefix, suffix);
