code: public ValueBinding getValueBinding(String name) {
  
          if (name == null) {
              throw new NullPointerException();
          }
          ValueBinding result = null;
          ValueExpression ve;
  
          if (null != (ve = getValueExpression(name))) {
              // if the ValueExpression is an instance of our private
              // wrapper class.
              if (ve.getClass().equals(ValueExpressionValueBindingAdapter.class)) {
                  result = ((ValueExpressionValueBindingAdapter) ve).getWrapped();
              } else {
                  // otherwise, this is a real ValueExpression.  Wrap it
                  // in a ValueBinding.
                  result = new ValueBindingValueExpressionAdapter(ve);
              }
          }
          return result;
      }
docs: {@inheritDoc}
  
  @throws NullPointerException {@inheritDoc}
  @deprecated This has been replaced by {@link #getValueExpression}.