Code Inspection: Use of possibly unassigned property in a static initializer
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports a class member initializer which references another non-hoisted class member while the latter may be not initialized yet.
Initialization of class members happens consequently for fields, so a field cannot reference another field that is declared later.
Place the caret at the highlighted line and press AltEnter or click
.
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.