static void hollowSquare ( int rows ) {
  int i , j ;
  for ( i = 1 ;
  i <= rows ;
  i ++ ) {
    if ( i == 1 || i == rows ) for ( j = 1 ;
    j <= rows ;
    j ++ ) System . out . print ( "*" ) ;
    else for ( j = 1 ;
    j <= rows ;
    j ++ ) if ( j == 1 || j == rows ) System . out . print ( "*" ) ;
    else System . out . print ( " " ) ;
    System . out . print ( "\n" ) ;
  }
}

static void hollowSquare ( int rows ) { int i , j ; for ( i = 1 ; i <= rows ; i ++ ) { if ( i == 1 || i == rows ) for ( j = 1 ; j <= rows ; j ++ ) System . out . print ( " * " ) ; else for ( j = 1 ; j <= rows ; j ++ ) if ( j == 1 || j == rows ) System . out . print ( " * " ) ; else System . out . print ( " ▁ " ) ; System . out . print ( " \n " ) ; } }
(method_declaration (modifiers) type: (void_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)) declarator: (variable_declarator name: (identifier))) (for_statement init: (assignment_expression left: (identifier) right: (decimal_integer_literal)) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (decimal_integer_literal)) right: (binary_expression left: (identifier) right: (identifier)))) consequence: (for_statement init: (assignment_expression left: (identifier) right: (decimal_integer_literal)) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal))))) alternative: (for_statement init: (assignment_expression left: (identifier) right: (decimal_integer_literal)) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (decimal_integer_literal)) right: (binary_expression left: (identifier) right: (identifier)))) consequence: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) alternative: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal))))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal))))))))