1 | static L<S> findTopLevelClass(L<S> tok, S className) { |
2 | for (L<S> c : allClasses(tok)) { |
3 | S name = getClassDeclarationName(c); |
4 | if (eq(name, className)) |
5 | ret c; |
6 | } |
7 | ret null; |
8 | } |
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: | 729 / 1341 |
Referenced in: | [show references] |