def CheckGlobalStatic(filename, clean_lines, linenum, error):
line = clean_lines.elided[linenum]<EOL>if linenum + <NUM_LIT:1> < clean_lines.NumLines() and not Search(r'<STR_LIT>', line):<EOL><INDENT>line += clean_lines.elided[linenum + <NUM_LIT:1>].strip()<EOL><DEDENT>match = Match(<EOL>r'<STR_LIT>'<EOL>r'<STR_LIT>',<EOL>line)<EOL>if (match and<EOL>not Search(r'<STR_LIT>', line) and<EOL>not Search(r'<STR_LIT>', line) and<EOL>not Match(r'<STR_LIT>', match.group(<NUM_LIT:4>))):<EOL><INDENT>if Search(r'<STR_LIT>', line):<EOL><INDENT>error(filename, linenum, '<STR_LIT>', <NUM_LIT:4>,<EOL>'<STR_LIT>'<EOL>'<STR_LIT>' %<EOL>(match.group(<NUM_LIT:1>), match.group(<NUM_LIT:2>) or '<STR_LIT>', match.group(<NUM_LIT:3>)))<EOL><DEDENT>else:<EOL><INDENT>error(filename, linenum, '<STR_LIT>', <NUM_LIT:4>,<EOL>'<STR_LIT>')<EOL><DEDENT><DEDENT>if (Search(r'<STR_LIT>', line) or<EOL>Search(r'<STR_LIT>', line)):<EOL><INDENT>error(filename, linenum, '<STR_LIT>', <NUM_LIT:4>,<EOL>'<STR_LIT>')<EOL><DEDENT>
Check for unsafe global or static objects.

    Args:
      filename: The name of the current file.
      clean_lines: A CleansedLines instance containing the file.
      linenum: The number of the line to check.
      error: The function to call with any errors found.