Libraryless. Click here for Pure Java version (3180L/20K).
svoid tok_transientClasses(LS tok) { int i; while ((i = jfindOneOf(tok, "transient class", "transient <id> class", "transient <id> <id> class")) >= 0) { IntRange body = tok_findCurlyBody(tok, i); tokAppend_reTok(tok, body.start, "\nbool _isTransient() { true; }"); clearTokens_reTok(tok, i, i+2); } }
Began life as a copy of #1012742
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: | #1028897 |
Snippet name: | tok_transientClasses - allow classes to be declared transient |
Eternal ID of this version: | #1028897/5 |
Text MD5: | be7ded7607cae98b8078d3eebc399097 |
Transpilation MD5: | f3ca1859c5d0ceb3bcb1a149621b0aae |
Author: | stefan |
Category: | javax / transpiling |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-11 12:52:58 |
Source code size: | 344 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 235 / 336 |
Version history: | 4 change(s) |
Referenced in: | [show references] |