Libraryless. Click here for Pure Java version (5270L/29K).
static L<Method> findNonDefaultInterfaceMethods(Class intrface) { if (!isInterface(intrface)) null; new L<Method> l; _MethodCache cache = getMethodCache(intrface); Class c = intrface; do { for (Method m : c.getDeclaredMethods()) if (m.getDeclaringClass() != O.class && !m.isDefault() && !isStaticMethod(m)) l.add(m); c = c.getSuperclass(); } while (c != null); ret l; }
Began life as a copy of #1027670
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034765 |
Snippet name: | findNonDefaultInterfaceMethods |
Eternal ID of this version: | #1034765/9 |
Text MD5: | b6d09dcf3804f2c327709f95066b25fb |
Transpilation MD5: | 6e75c30ae02f87c4e44113dadfbdf343 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-08 06:21:06 |
Source code size: | 436 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 163 / 274 |
Version history: | 8 change(s) |
Referenced in: | [show references] |