public void statement(String pattern, Object... args) throws IOException {
    checkInMethod();
    indent();
    out.write(String.format(pattern, args));
    out.write(";\n");
  }
public void statement ( String pattern , Object ... args ) throws IOException { checkInMethod ( ) ; indent ( ) ; out . write ( String . format ( pattern , args ) ) ; out . write ( ";\n" ) ; }
@param pattern a code pattern like "int i = %s". Shouldn't contain a
trailing semicolon or newline character.