Libraryless. Click here for Pure Java version (4621L/26K).
static Class findClassInStandardImports(S name) { for (S pkg : itemPlusList("java.lang", endingWith_dropSuffix(standardImports(), ".*"))) try object Class c = classForNameOpt_noCache(pkg + "." + name); null; }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033986 |
Snippet name: | findClassInStandardImports |
Eternal ID of this version: | #1033986/5 |
Text MD5: | 4c0af8cebaf25657304efaefc17150cd |
Transpilation MD5: | 28d159b63edbb9589060d9a5be4b20c4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-15 06:57:14 |
Source code size: | 226 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 235 / 305 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1034233 - standardImports_fullyImportedPackages |