static void printPattern ( int rows ) {
  System . out . print ( "\nSolid Square:\n" ) ;
  solidSquare ( rows ) ;
  System . out . print ( "\nHollow Square:\n" ) ;
  hollowSquare ( rows ) ;
}

static void printPattern ( int rows ) { System . out . print ( " \n Solid ▁ Square : \n " ) ; solidSquare ( rows ) ; System . out . print ( " \n Hollow ▁ Square : \n " ) ; hollowSquare ( rows ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier))))))