void (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { DomElement domElement = DomUtil.getDomElement(descriptor.getPsiElement()); if (!(domElement instanceof GenericDomValue)) return; ((GenericDomValue<?>)domElement).setStringValue(NlsCapitalizationUtil.fixValue(myValue, myCapitalization)); }