static String nextLine ( ) {
  try {
    return reader . readLine ( ) ;
  }
  catch ( Exception e ) {
    return null ;
  }
}

static String nextLine ( ) { try { return reader . readLine ( ) ; } catch ( Exception e ) { return null ; } }
(method_declaration (modifiers) type: (type_identifier) name: (identifier) parameters: (formal_parameters) body: (block (try_statement body: (block (return_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (catch_clause (catch_formal_parameter (catch_type (type_identifier)) name: (identifier)) body: (block (return_statement (null_literal)))))))