Transpiled version (81L) is out of date.
1 | static L<Method> allMethods(O o) { |
2 | ret allMethods(_getClass(o)); |
3 | } |
4 | |
5 | static L<Method> allMethods(Class c) { |
6 | new L<Method> l; |
7 | while (c != null) { |
8 | for (Method m : c.getDeclaredMethods()) |
9 | l.add(m); |
10 | c = c.getSuperclass(); |
11 | } |
12 | ret l; |
13 | } |
Began life as a copy of #1007855
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034906 |
Snippet name: | allMethods - finds all methods declared by class or superclasses (both static and non-static). methods are not made accessible |
Eternal ID of this version: | #1034906/4 |
Text MD5: | 6d8ab509f25e7a5119bf9766c1cbcdcb |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-14 17:56:17 |
Source code size: | 263 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 111 / 166 |
Version history: | 3 change(s) |
Referenced in: | [show references] |