void () { doTest("record A(int x, String y) {}", """ PsiJavaFileStub [] IMPORT_LIST:PsiImportListStub CLASS:PsiClassStub[record name=A fqn=A] MODIFIER_LIST:PsiModifierListStub[mask=0] TYPE_PARAMETER_LIST:PsiTypeParameterListStub RECORD_HEADER:PsiRecordHeaderStub RECORD_COMPONENT:PsiRecordComponentStub[x:int] MODIFIER_LIST:PsiModifierListStub[mask=0] RECORD_COMPONENT:PsiRecordComponentStub[y:String] MODIFIER_LIST:PsiModifierListStub[mask=0] EXTENDS_LIST:PsiRefListStub[EXTENDS_LIST:] IMPLEMENTS_LIST:PsiRefListStub[IMPLEMENTS_LIST:] """); }