void () { setupLoadingFilter(); final PsiClass aClass = findClass("annotations.DeprecatedAnnotation"); assertTrue(aClass.isDeprecated()); PsiMethod method = aClass.getMethods()[0]; assertTrue(method.isDeprecated()); PsiField field = aClass.getFields()[0]; assertTrue(field.isDeprecated()); tearDownLoadingFilter(); }