void () { doTest(""" @Deprecated @SuppressWarnings("UnusedDeclaration") class Foo { }""", """ PsiJavaFileStub [] IMPORT_LIST:PsiImportListStub CLASS:PsiClassStub[deprecatedA name=Foo fqn=Foo] MODIFIER_LIST:PsiModifierListStub[mask=0] ANNOTATION:PsiAnnotationStub[@Deprecated] ANNOTATION_PARAMETER_LIST:PsiAnnotationParameterListStubImpl ANNOTATION:PsiAnnotationStub[@SuppressWarnings("UnusedDeclaration")] ANNOTATION_PARAMETER_LIST:PsiAnnotationParameterListStubImpl NAME_VALUE_PAIR:PsiNameValuePairStubImpl LITERAL_EXPRESSION:PsiLiteralStub TYPE_PARAMETER_LIST:PsiTypeParameterListStub EXTENDS_LIST:PsiRefListStub[EXTENDS_LIST:] IMPLEMENTS_LIST:PsiRefListStub[IMPLEMENTS_LIST:] """); }