Libraryless. Click here for Pure Java version (2901L/17K).
static L<Class> nonAbstractClassesInRealmWithSuperclassShortNamed(Class realm, S base, L<S> candidateClassNames) { new L<Class> l; ClassLoader cl = realm.getClassLoader(); S prefix = mainClassNameForClassLoader(cl) + "$"; for (S name : candidateClassNames) pcall { Class c = getClass_vmName(realm, prefix + name); if (c != null && !isAbstract(c) && hasSuperclassShortNamed(c, base)) l.add(c); } ret l; }
Began life as a copy of #1015917
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020727 |
| Snippet name: | nonAbstractClassesInRealmWithSuperclassShortNamed |
| Eternal ID of this version: | #1020727/6 |
| Text MD5: | 0acf3430ef22cde6c31fb7322718965e |
| Transpilation MD5: | afdda5ee3dfcc48183132ef9c94b18ca |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-05 01:41:31 |
| Source code size: | 439 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 548 / 698 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |