MagicConstantInspection: getElementToMakeWritable

This commit is contained in:
Tagir Valeev
2018-06-21 17:36:35 +07:00
parent d6d851d8d4
commit 93b834631b
@@ -818,6 +818,12 @@ public class MagicConstantInspection extends AbstractBaseJavaLocalInspectionTool
}
}
@Nullable
@Override
public PsiElement getElementToMakeWritable(@NotNull PsiFile currentFile) {
return currentFile;
}
private static void replace(@NotNull Project project,
@NotNull PsiElement startElement,
@NotNull List<PsiAnnotationMemberValue> values) {