Java
Package-visible field
Warning
New
Last modified: 03 December 2024Reports fields that are declared without any access modifier (also known as package-private).
Constants (that is, fields marked static
and final
) are not reported.
Example:
public class A {
Object object; // warning
final static int MODE = 0; // constant, no warning
}
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
PackageVisibleField
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 243.23126 |
Thanks for your feedback!
Was this page helpful?