@Nullable
  private static Pair<UIThemeMetadata, UIThemeMetadata.UIKeyMetadata> resolve(PsiElement element) {
    if (!(element instanceof JsonProperty)) return null;
    if (!ThemeJsonUtil.isThemeFilename(element.getContainingFile().getName())) return null;

    return ThemeJsonUtil.findMetadata((JsonProperty)element);
  }
@Nullable
  private static Pair<UIThemeMetadata, UIThemeMetadata.UIKeyMetadata> resolve(PsiElement element)