ThreeState (@NotNull PsiElement contextElement, @NotNull PsiFile psiFile, int offset) { ULiteralExpression literal = UastContextKt.toUElement(contextElement.getParent(), ULiteralExpression.class); return literal != null && !DumbService.isDumb(psiFile.getProject()) && JavaI18nUtil.mustBePropertyKey(literal, null) ? ThreeState.NO : ThreeState.UNSURE; }