code: @Deprecated
      @Nonnull
      public List<Action> getActions() {
          //this double checked synchronization is only safe if the field 'actions' is volatile
          if (actions == null) {
              synchronized (this) {
                  if (actions == null) {
                      actions = new CopyOnWriteArrayList<>();
                  }
              }
          }
          return actions;
      }
docs: Gets actions contributed to this object.
  
  <p>
  A new {@link Action} can be added by {@link #addAction}.
  
  <p>If you are <em>reading</em> the list, rather than <em>modifying</em> it,
  use {@link #getAllActions} instead.
  This method by default returns only <em>persistent</em> actions
  (though some subclasses override it to return an extended unmodifiable list).
  
  @return a possibly empty list
  @deprecated Normally outside code should not call this method any more.
  Use {@link #getAllActions}, or {@link #addAction}, or {@link #replaceAction}.
  May still be called for compatibility reasons from subclasses predating {@link TransientActionFactory}.