public static void setMap ( int key , int num ) {
  int key2 = key + num ;
  int val = 0 ;
  if ( map . containsKey ( key2 ) ) {
    val = map . get ( key2 ) ;
  }
  val += 1 ;
  map . put ( key2 , val ) ;
  if ( val > max ) {
    max = val ;
  }
}

public static void setMap ( int key , int num ) { int key2 = key + num ; int val = 0 ; if ( map . containsKey ( key2 ) ) { val = map . get ( key2 ) ; } val += 1 ; map . put ( key2 , val ) ; if ( val > max ) { max = val ; } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (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: (identifier) right: (identifier)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (if_statement condition: (parenthesized_expression (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (identifier)))))))