1 | static L<Class> nonAbstractClassesInRealmImplementing(Class realm, Class base, L<S> candidateClassNames) { |
2 | new L<Class> l; |
3 | for (S name : candidateClassNames) pcall { |
4 | Class c = _getClass(realm, "main$" + 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 #1006703
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: | #1015917 |
Snippet name: | nonAbstractClassesInRealmImplementing |
Eternal ID of this version: | #1015917/3 |
Text MD5: | a950afbcd5cb462c95f4d4be78ee1cca |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-31 21:18:53 |
Source code size: | 317 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 406 / 414 |
Version history: | 2 change(s) |
Referenced in: | [show references] |