IntentionPreviewInfo (@NotNull Project project, @NotNull ProblemDescriptor previewDescriptor) { Property property = myPropertyPointer.getElement(); if (property == null) return IntentionPreviewInfo.EMPTY; PsiFile containingFile = myPropertyPointer.getContainingFile(); assert containingFile != null; String propertyKey = property.getKey(); String newValue = NlsCapitalizationUtil.fixValue(myValue, myCapitalization); return new IntentionPreviewInfo.CustomDiff(PropertiesFileType.INSTANCE, containingFile.getName(), property.getText(), propertyKey + "=" + newValue); }