public static Object[] swapExtraArguments(Object[] newArgs) {
    Object[] previous = EXTRA_ARGUMENTS.get();
    setExtraArguments(newArgs);
    return previous;
  }
Swaps the thread local context.
<p>This may be used to stack up contexts during cascading calls.</p>
@param newArgs the new arguments
@return the down-stack caller arguments
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/SerializationProxy.java