code: public static MethodDescriptor buildScriptableDeprecatedMethodDescriptor(
      Class actionClass, String methodName, String[] parameterNames, Class[] parameterTypes )
    {
      MethodDescriptor md = _buildMethodDescriptor( actionClass, methodName, parameterNames, parameterTypes, parameterTypes );
      makeScriptableDeprecated( md );
      return md;
    }
docs: Builds a deprecated method descriptor that is exposed for scripting everywhere.