void (@NotNull PsiModifierListOwner method, boolean isNullable) { final SmartPsiElementPointer<PsiModifierListOwner> methodPointer = myPointerManager.createSmartPsiElementPointer(method); if (isNullable) { myNullableSet.add(methodPointer); } else { myNotNullSet.add(methodPointer); } numAnnotationsAdded++; }