static boolean isAnagram ( String s1 , String s2 ) {
  s1 = sortString ( s1 ) ;
  s2 = sortString ( s2 ) ;
  return ( s1 . equals ( s2 ) ) ;
}

static boolean isAnagram ( String s1 , String s2 ) { s1 = sortString ( s1 ) ; s2 = sortString ( s2 ) ; return ( s1 . equals ( s2 ) ) ; }
(method_declaration (modifiers) type: (boolean_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier)) (formal_parameter type: (type_identifier) name: (identifier))) body: (block (expression_statement (assignment_expression left: (identifier) right: (method_invocation name: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation name: (identifier) arguments: (argument_list (identifier))))) (return_statement (parenthesized_expression (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))))))