Skip to main content
The 2024 Developer Survey results are live! See the results
2 events
when toggle format what by license comment
Feb 9, 2023 at 8:07 comment added Holger This will always be false, as the array returned by getDeclaredMethods() never contains null. You’d have to actually invoke those methods if you want to check whether they return null, but mind that not every method is a getter.
Sep 16, 2021 at 14:22 history answered lrkwz CC BY-SA 4.0