Transpiled version (2327L) is out of date.
sS dropLoadableUtilsPackageFromStruct(S s) { S prefix = "loadableUtils.utils$"; if (!contains(s, "loadableUtils.utils$")) ret s; LS tok = javaTokForStructure(s); for (int i = 5; i < l(tok); i += 2) if (eqGet(tok, i-4, "loadableUtils") && eqGet(tok, i-2, ".")) replaceTokens(tok, i-4, i+1, dropPrefix("utils$", tok.get(i))); ret join(tok); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027240 |
Snippet name: | dropLoadableUtilsPackageFromStruct - e.g. "loadableUtils.utils$Rect(...)" to "Rect(...)" |
Eternal ID of this version: | #1027240/3 |
Text MD5: | 3a07f5db384ca85ef80d0e46d7dde6ec |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-26 16:01:29 |
Source code size: | 375 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 200 / 275 |
Version history: | 2 change(s) |
Referenced in: | [show references] |