if(!TranslationUtil.hasTranslationKey(psiElement.getProject(), text, domainName)) {
Annotation annotationHolder = holder.createWarningAnnotation(psiElement, "Missing Translation");
List<PsiFile> psiElements = TranslationUtil.getDomainPsiFiles(psiElement.getProject(), domainName);
for(PsiElement psiFile: psiElements) {
if(psiFile instanceof YAMLFile) {
annotationHolder.registerFix(new TranslationKeyIntentionAction((YAMLFile) psiFile, text));
}
}
}
}