void () { PsiFile psiFile = myFixture.configureByFile("lib/p/TestPrimitive.java"); PsiTestUtil.addSourceRoot(myFixture.getModule(), psiFile.getVirtualFile().getParent()); myFixture.getEditor().getCaretModel().moveToOffset(((PsiJavaFile) psiFile).getClasses()[0].getTextOffset()); getAnnotateAction("Deprecated"); assertNotAvailable("NotNull"); assertNotAvailable("Nullable"); }