static void reverseWords ( String str ) {
  String [ ] tok = str . split ( "\\s" ) ;
  for ( String w : tok ) {
    System . out . print ( reverseWord ( w ) + " " ) ;
  }
}

static void reverseWords ( String str ) { String [ ] tok = str . split ( " \\ s " ) ; for ( String w : tok ) { System . out . print ( reverseWord ( w ) + " ▁ " ) ; } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier))) body: (block (local_variable_declaration type: (array_type element: (type_identifier) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal))))) (enhanced_for_statement type: (type_identifier) name: (identifier) value: (identifier) body: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (method_invocation name: (identifier) arguments: (argument_list (identifier))) right: (string_literal)))))))))