Inspectopedia 2024.3 Help

Reflective access

MethodHandle/VarHandle type mismatch   New in this release

Reports MethodHandle and VarHandle factory method calls that don't match any method or field.

Reflective access across modules issues   New in this release

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.

Reflective access to non-existent or not visible class member   New in this release

Reports reflective access to fields and methods that don't exist or aren't visible.

Reflective invocation arguments mismatch   New in this release

Reports cases in which the arguments provided to Method.invoke() and Constructor.newInstance() do not match the signature specified in Class.getMethod() and Class.getConstructor().

Last modified: 11 September 2024