Example:
class MyClass {
static final int intConstant;
static {
intConstant = 10;
}
}
The quick fix will move the assigned value to the field initializer removing the class initializer section if possible:
class MyClass {
static final int intConstant = 10;
}
Since 2017.2