public static void setReadOnlyHint(@NotNull Editor editor, @Nullable @NlsContexts.HintText String message) {
    setReadOnlyHint(editor, message, null);
  }
public static void setReadOnlyHint(@NotNull Editor editor, @Nullable @NlsContexts.HintText String message)