static node add ( int data ) {
  node newnode = new node ( ) ;
  newnode . data = data ;
  newnode . next = null ;
  return newnode ;
}

static node add ( int data ) { node newnode = new node ( ) ; newnode . data = data ; newnode . next = null ; return newnode ; }
(method_declaration (modifiers) type: (type_identifier) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (field_access object: (identifier) field: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (field_access object: (identifier) field: (identifier)) right: (null_literal))) (return_statement (identifier))))