Libraryless. Click here for Pure Java version (3820L/22K).
static Class getOuterClass(Class c, O classFinder default null) ctex { S s = c.getName(); int i = s.lastIndexOf('$'); S name = substring(s, 0, i); ret classForName(name, classFinder); } static Class getOuterClass(O o, O classFinder default null) { ret getOuterClass(_getClass(o), classFinder); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004786 |
Snippet name: | getOuterClass |
Eternal ID of this version: | #1004786/4 |
Text MD5: | 680830dc10ffaba5cba807cc003ee28c |
Transpilation MD5: | aa130cac90374f0d37e2809e81adca86 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-06 14:47:05 |
Source code size: | 315 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 612 / 663 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1032830 - getSiblingClass |