Libraryless. Click here for Pure Java version (7884L/44K).
1 | sbool hasStaticMethodNamed(Class c, S method) {
|
2 | if (c == null) false; |
3 | var methods = getMethodCache(c).cache.get(method); |
4 | if (methods != null) for (m : methods) |
5 | if (isStaticMethod(m)) |
6 | true; |
7 | false; |
8 | } |
Began life as a copy of #1002180
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035256 |
| Snippet name: | hasStaticMethodNamed |
| Eternal ID of this version: | #1035256/1 |
| Text MD5: | 66962cca1519871103c30904ee2e1a93 |
| Transpilation MD5: | 2d4146870321369079efcf77fedf6df0 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-04-27 14:12:57 |
| Source code size: | 222 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 746 / 935 |
| Referenced in: | [show references] |