code: public static MethodDescriptor buildHiddenMethodDescriptor(
      Class actionClass, String methodName, String[] parameterNames, Class[] parameterTypes )
    {
      MethodDescriptor md = _buildMethodDescriptor( actionClass, methodName, parameterNames, parameterTypes, parameterTypes );
      md.setHidden( true );
      return md;
    }
docs: Completely hides a method from scripting.