Transpiled version (4564L) is out of date.
1 | sbool hasSingleArgumentConstructor(Class c) {
|
2 | if (c != null) |
3 | for (Constructor m : getDeclaredConstructors_cached(c)) |
4 | if (l(m.getParameterTypes()) == 1) |
5 | true; |
6 | false; |
7 | } |
Began life as a copy of #1033878
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033881 |
| Snippet name: | hasSingleArgumentConstructor |
| Eternal ID of this version: | #1033881/2 |
| Text MD5: | ebe0940f4ee2f05fa4c62f6aeb1f0cf9 |
| Author: | stefan |
| Category: | javax / reflection |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-29 19:41:39 |
| Source code size: | 194 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 410 / 549 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |