static L<S> findTopLevelClass(L<S> tok, S className) { for (L<S> c : allClasses(tok)) { S name = getClassDeclarationName(c); if (eq(name, className)) ret c; } ret null; }
Began life as a copy of #756
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: | #1001863 |
Snippet name: | findTopLevelClass |
Eternal ID of this version: | #1001863/1 |
Text MD5: | e12763c9675ca442d455c4bf28d08195 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-11-29 20:45:15 |
Source code size: | 197 bytes / 8 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 728 / 1340 |
Referenced in: | [show references] |