static int calcManhatDistance ( int x1 , int y1 , int x2 , int y2 ) {
  int d = Math . abs ( x1 - x2 ) + Math . abs ( y1 - y2 ) ;
  return d ;
}

static int calcManhatDistance ( int x1 , int y1 , int x2 , int y2 ) { int d = Math . abs ( x1 - x2 ) + Math . abs ( y1 - y2 ) ; return d ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))) (return_statement (identifier))))