Inspectopedia Help

Reflective access across modules issues

Reports Class.forName() and ClassLoader.loadClass() calls which try to access classes that aren't visible in the current scope due to Java 9 module accessibility rules.

This inspection depends on the Java feature 'Modules' which is available since Java 9.

Inspection Details

By default bundled with:

IntelliJ IDEA 2024.1, Qodana for JVM 2024.1,

Can be installed with plugin:

Java, 241.16690

Last modified: 29 April 2024