void () { if (!isInsideCaseLabel()) return; final PsiSwitchBlock switchBlock = PsiTreeUtil.getParentOfType(myPosition, PsiSwitchBlock.class, false, PsiMember.class); if (switchBlock == null) return; final PsiType selectorType = getSelectorType(switchBlock); if (selectorType instanceof PsiPrimitiveType) return; addKeyword(createKeyword(PsiKeyword.NULL)); }