private static int digit ( long n ) {
  return String . valueOf ( n ) . length ( ) ;
}

private static int digit ( long n ) { return String . valueOf ( n ) . length ( ) ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (return_statement (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))) name: (identifier) arguments: (argument_list)))))