@Override
  public PsiElement bindToElement(final @NotNull PsiElement element) throws IncorrectOperationException {
    if (!(element instanceof PropertiesFile propertyFile)) {
      throw new IncorrectOperationException();
    }

    final String bundleName = FormReferenceProvider.getBundleName(propertyFile);
    LOG.assertTrue(bundleName != null);
    updateRangeText(bundleName);
    return myFile;
  }
@Override
  public PsiElement bindToElement(final @NotNull PsiElement element)