void (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { PsiElement element = descriptor.getPsiElement(); if (!(element instanceof XmlTag tag)) return; doFix(project, myPropertiesFile, Collections.singletonList(tag)); }