static L<Method> findStaticMethodsNamed(O obj, S method) { if (obj == null) ret null; ret findStaticMethodsNamed(_getClass(obj), method); } static L<Method> findStaticMethodsNamed(Class c, S method) { new L<Method> l; while (c != null) { for (Method m : c.getDeclaredMethods()) if ((m.getModifiers() & Method.STATIC) != 0 && m.getName().equals(method)) { m.setAccessible(true); l.add(m); } c = c.getSuperclass(); } ret l; }
Began life as a copy of #1007767
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007831 |
Snippet name: | findStaticMethodsNamed |
Eternal ID of this version: | #1007831/1 |
Text MD5: | 14d5a2bfa1f4d12817008abaf1a8d557 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-11 13:51:46 |
Source code size: | 488 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 552 / 532 |
Referenced in: | [show references] |