Transpiled version (10688L) is out of date.
static L<Method> findFunctionalInterfaceMethods(Class intrface) { if (!isInterface(intrface)) null; new L<Method> l; _MethodCache cache = getMethodCache(intrface); Class c = intrface; do { for (Method m : c.getDeclaredMethods()) { S name = m.getName(); var args = m.getParameterTypes(); if (m.getDeclaringClass() != O.class && !m.isDefault() && !isStaticMethod(m) && !m.isSynthetic() && !(eq(name, "equals") && l(args) == 1 && args[0] == O.class)) l.add(m); } c = c.getSuperclass(); } while (c != null); ret l; }
Began life as a copy of #1034765
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): gjtlkbvenryc, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1037269 |
Snippet name: | findFunctionalInterfaceMethods |
Eternal ID of this version: | #1037269/4 |
Text MD5: | 751a90b83df29f6e76559f4b5bd9771a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2024-02-18 11:05:17 |
Source code size: | 607 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 92 / 161 |
Version history: | 3 change(s) |
Referenced in: | [show references] |