isAccessible() returning false for public setters
Yes. It should do. According to the javadocs, the accessible
flag determines whether the Method
object ignores the normal Java access rules when you attempt to invoke the method (reflectively) via the Method
object. According to the javadoc, the flag defaults to false
... meaning "apply the Java access rules".
However. the code snippet you posted seems to be misinterpreting the accessible
flag as indicating that the method can be invoked. That is incorrect ... and the end result is spurious warnings.
This looks like a bug in PODAM, and I recommend that you raise an issue with the maintainers of the PODAM library.