private void beforeName() throws IOException {
  int context=peek();
  if (context == NONEMPTY_OBJECT) {
    out.write(',');
  }
 else   if (context != EMPTY_OBJECT) {
    throw new IllegalStateException("Nesting problem.");
  }
  newline();
  replaceTop(DANGLING_NAME);
}

private void beforeName ( ) throws IOException { int context = peek ( ) ; if ( context == NONEMPTY_OBJECT ) { out . write ( ',' ) ; } else if ( context != EMPTY_OBJECT ) { throw new IllegalStateException ( "Nesting problem." ) ; } newline ( ) ; replaceTop ( DANGLING_NAME ) ; }
inserts any necessary separators and whitespace before a name . also adjusts the stack to expect the name ' s value .
