Set<PsiField> (@Nullable PsiElement position) { return JavaCompletionContributor.IN_SWITCH_LABEL.accepts(position) ? findConstantsUsedInSwitch(Objects.requireNonNull(PsiTreeUtil.getParentOfType(position, PsiSwitchBlock.class))) : Collections.emptySet(); }