public synchronized @Nullable Constraints getConstraints(@NotNull AnAction action) {
    return myConstraints.get(action);
  }
public synchronized @Nullable Constraints getConstraints(@NotNull AnAction action)