static int findPosition ( int n ) {
  if ( ! isPowerOfTwo ( n ) ) return - 1 ;
  return Log2n ( n ) + 1 ;
}

static int findPosition ( int n ) { if ( ! isPowerOfTwo ( n ) ) return - 1 ; return Log2n ( n ) + 1 ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (if_statement condition: (parenthesized_expression (unary_expression operand: (method_invocation name: (identifier) arguments: (argument_list (identifier))))) consequence: (return_statement (unary_expression operand: (decimal_integer_literal)))) (return_statement (binary_expression left: (method_invocation name: (identifier) arguments: (argument_list (identifier))) right: (decimal_integer_literal)))))