static S getNameOfPublicClass(L<S> tok) { for (L<S> c : allClasses(tok)) if (hasModifier(c, "public")) return getClassDeclarationName(c); return null; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002202 |
Snippet name: | getNameOfPublicClass |
Eternal ID of this version: | #1002202/1 |
Text MD5: | 3de4d20135b7252569673b829e264d70 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-12-25 18:23:00 |
Source code size: | 173 bytes / 6 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 640 / 1122 |
Referenced in: | #1002427 - Accellerating 629 (SPIKE) #1006404 - getNameOfAnyClass #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1016062 - getNameOfAnyClass #3000382 - Answer for ferdie (>> t = 1, f = 0) |