static int nextPerfectSquare ( int N ) {
  int nextN = ( int ) Math . floor ( Math . sqrt ( N ) ) + 1 ;
  return nextN * nextN ;
}

static int nextPerfectSquare ( int N ) { int nextN = ( int ) Math . floor ( Math . sqrt ( N ) ) + 1 ; return nextN * nextN ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (cast_expression type: (integral_type) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))))) right: (decimal_integer_literal)))) (return_statement (binary_expression left: (identifier) right: (identifier)))))