Inspectopedia Help

Protected field

Reports protected fields.

Constants (that is, variables marked static or final) are not reported.

Example:

public class A { protected Object object; // warning protected final static int MODE = 0; // constant, no warning }

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Java, 233.SNAPSHOT

Last modified: 13 July 2023