Libraryless. Click here for Pure Java version (7888L/44K).
1 | // finds static and non-static methods. |
2 | |
3 | static L<Method> findMethodsNamed_cached(O obj, S method) { |
4 | ret findMethodsNamed_cached(_getClass(obj), method); |
5 | } |
6 | |
7 | static L<Method> findMethodsNamed_cached(Class c, S method) { |
8 | if (c == null) null; |
9 | ret getMethodCache(c).cache.get(method); |
10 | } |
Began life as a copy of #1007767
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035278 |
Snippet name: | findMethodsNamed_cached |
Eternal ID of this version: | #1035278/4 |
Text MD5: | 1eb0f9c611c52e26a503cce3592a2a9a |
Transpilation MD5: | f183e3ee47ff48a83cc33d2e5e23ceec |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-04-28 22:15:27 |
Source code size: | 297 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 127 / 183 |
Version history: | 3 change(s) |
Referenced in: | [show references] |