PsiJavaFile:ExtraOpeningBraceInMethod.java
  PsiPackageStatement:foo
    PsiKeyword:package('package')
    PsiWhiteSpace(' ')
    PsiJavaCodeReferenceElement:foo
      PsiIdentifier:foo('foo')
      PsiReferenceParameterList
        <empty list>
    PsiJavaToken:SEMICOLON(';')
  PsiWhiteSpace('\n\n')
  PsiImportList
    <empty list>
  PsiClass:Foo
    PsiModifierList:public
      PsiKeyword:public('public')
    PsiWhiteSpace(' ')
    PsiKeyword:class('class')
    PsiWhiteSpace(' ')
    PsiIdentifier:Foo('Foo')
    PsiTypeParameterList
      <empty list>
    PsiReferenceList
      <empty list>
    PsiReferenceList
      <empty list>
    PsiWhiteSpace(' ')
    PsiJavaToken:LBRACE('{')
    PsiWhiteSpace('\n   ')
    PsiMethod:testSomething
      PsiModifierList:public
        PsiKeyword:public('public')
      PsiTypeParameterList
        <empty list>
      PsiWhiteSpace(' ')
      PsiTypeElement:void
        PsiKeyword:void('void')
      PsiWhiteSpace(' ')
      PsiIdentifier:testSomething('testSomething')
      PsiParameterList:()
        PsiJavaToken:LPARENTH('(')
        PsiJavaToken:RPARENTH(')')
      PsiReferenceList
        <empty list>
      PsiWhiteSpace(' ')
      PsiCodeBlock
        PsiJavaToken:LBRACE('{')
        PsiWhiteSpace('\n     ')
        PsiBlockStatement
          PsiCodeBlock
            PsiJavaToken:LBRACE('{')
            PsiWhiteSpace('\n   ')
            PsiJavaToken:RBRACE('}')
        PsiWhiteSpace('\n\n   ')
        PsiDeclarationStatement
          PsiLocalVariable:testSomething
            PsiModifierList:public
              PsiKeyword:public('public')
            PsiWhiteSpace(' ')
            PsiTypeElement:void
              PsiKeyword:void('void')
            PsiWhiteSpace(' ')
            PsiIdentifier:testSomething('testSomething')
            PsiErrorElement:';' expected
              <empty list>
        PsiExpressionStatement
          PsiParenthesizedExpression:()
            PsiJavaToken:LPARENTH('(')
            PsiErrorElement:Expression expected
              <empty list>
            PsiJavaToken:RPARENTH(')')
          PsiErrorElement:';' expected
            <empty list>
        PsiWhiteSpace(' ')
        PsiBlockStatement
          PsiCodeBlock
            PsiJavaToken:LBRACE('{')
            PsiWhiteSpace('\n\n   ')
            PsiJavaToken:RBRACE('}')
        PsiWhiteSpace('\n\n')
        PsiJavaToken:RBRACE('}')
    PsiErrorElement:'}' expected
      <empty list>