Inspectopedia Help

Wrong access modifier of bean members with CDI annotations

Reports injected fields, observer methods, and bean constructors with private access.

Private access levels on CDI members increase the amount of reflection manipulations necessary to set up a bean. Use package-private or protected access levels instead.

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3


Quarkus, 233.SNAPSHOT

Last modified: 13 July 2023