public static boolean mustBePropertyKey(@NotNull PsiExpression expression, @Nullable Ref<? super PsiAnnotationMemberValue> resourceBundleRef) {
    UExpression uExpression = UastContextKt.toUElement(expression, UExpression.class);
    if (uExpression == null) return false;
    Ref<UExpression> resourceBundleURef = resourceBundleRef == null ? null : Ref.create();
    if (!mustBePropertyKey(uExpression, resourceBundleURef)) return false;
    if (resourceBundleURef != null) {
      UExpression value = resourceBundleURef.get();
      if (value != null) {
        resourceBundleRef.set(ObjectUtils.tryCast(value.getSourcePsi(), PsiAnnotationMemberValue.class));
      }
    }
    return true;
  }
public static boolean mustBePropertyKey(@NotNull PsiExpression expression, @Nullable Ref<? super PsiAnnotationMemberValue> resourceBundleRef)