void () { PsiModifierList modList = getFile("../KeywordAnnotatedClass").getClasses()[0].getModifierList(); assertNotNull(modList); assertEquals("@pkg.native", modList.getAnnotations()[0].getText()); }