void () { PsiFile psiFile = myFixture.configureByFile("lib/p/TestAnnotated.java"); PsiTestUtil.addSourceRoot(myFixture.getModule(), psiFile.getVirtualFile().getParent()); assertNotAvailable("NotNull"); assertNotAvailable("Nullable"); final DeannotateIntentionAction deannotateFix = new DeannotateIntentionAction(); assertNull(deannotateFix.getPresentation(myFixture.getActionContext())); }