private static @Nls @Nullable String getAccessibleName(@NotNull Component component) {
    if (component instanceof Accessible) {
      return component.getAccessibleContext().getAccessibleName();
    }
    return null;
  }
private static @Nls @Nullable String getAccessibleName(@NotNull Component component)