private static boolean isInplaceRenameAvailable(final Editor editor) {
    return editor.getSettings().isVariableInplaceRenameEnabled();
  }
private static boolean isInplaceRenameAvailable(final Editor editor)