When I create a constant in IntelliJ (using Ctrl + Alt + C), the default is this public static final. How can I do this private static finalinstead?
public static final
private static final
After Ctrl+ Alt+ Cagain, press this combination, which displays a dialog box with additional options.
There is a visibility section. If you select private here, it will be new by default when extracting constants next time.