Libraryless. Click here for Pure Java version (2771L/16K).
1 | static <A> L<Class<? extends A>> myNonAbstractClassesImplementing(Class<A> base) { |
2 | L<Class<? extends A>> l = new L; |
3 | for (S name : myInnerClasses()) { |
4 | Class c = _getClass(mcName() + "$" + name); |
5 | if (c != null && !isAbstract(c) && isSubtypeOf(c, base)) |
6 | l.add(c); |
7 | } |
8 | ret l; |
9 | } |
Began life as a copy of #1006697
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: | #1006703 |
Snippet name: | myNonAbstractClassesImplementing - probably better than nonAbstractClassesImplementing (doesn't go through class loader's files) |
Eternal ID of this version: | #1006703/4 |
Text MD5: | f27880d658e9942bd65724a5988abade |
Transpilation MD5: | 04d34e908403dfaa00dc7d46a47f4b44 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-05 00:26:23 |
Source code size: | 301 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 634 / 689 |
Version history: | 3 change(s) |
Referenced in: | [show references] |