public static @NotNull String getCompletionPrefix(CompletionParameters parameters) {
    String text = parameters.getOriginalFile().getText();
    int offset = parameters.getOffset();
    return getCompletionPrefix(text, offset);
  }
public static @NotNull String getCompletionPrefix(CompletionParameters parameters)