code: public MethodBinding getAction() {
          MethodBinding result = null;
          MethodExpression me;
  
          if (null != (me = getActionExpression())) {
              // if the MethodExpression is an instance of our private
              // wrapper class.
              if (me.getClass().equals(MethodExpressionMethodBindingAdapter.class)) {
                  result = ((MethodExpressionMethodBindingAdapter) me).getWrapped();
              } else {
                  // otherwise, this is a real MethodExpression.  Wrap it
                  // in a MethodBinding.
                  result = new MethodBindingMethodExpressionAdapter(me);
              }
          }
          return result;
  
      }
docs: {@inheritDoc}
  
  @deprecated This has been replaced by {@link #getActionExpression}.