private int currentDepth(){
  try {
    Integer oneBased=((Integer)DEPTH_FIELD.get(this));
    return oneBased - 1;
  }
 catch (  IllegalAccessException e) {
    throw new AssertionError(e);
  }
}

private int currentDepth ( ) { try { Integer oneBased = ( ( Integer ) DEPTH_FIELD . get ( this ) ) ; return oneBased - 1 ; } catch ( IllegalAccessException e ) { throw new AssertionError ( e ) ; } }
returns a 0 - based depth within the object graph of the current object being serialized .
