sbool reflection_isForbiddenMethod(Method m) { ret m.getDeclaringClass() == O.class && eqOneOf(m.getName(), "finalize", "clone", "registerNatives"); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1022715 |
| Snippet name: | reflection_isForbiddenMethod - is there another way? |
| Eternal ID of this version: | #1022715/7 |
| Text MD5: | e48eef6b105172160c2ebce4d180297e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-04-01 04:56:42 |
| Source code size: | 159 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 564 / 643 |
| Version history: | 6 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |