1 | static void clearAllVariables() ctex { |
2 | for (Field f : allFieldObjects(mc())) |
3 | if (!f.getType().isPrimitive() && (f.getModifiers() & Modifier.FINAL) == 0) |
4 | f.set(null, null); |
5 | } |
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: | #1013089 |
Snippet name: | clearAllVariables - thorough clean-up of program |
Eternal ID of this version: | #1013089/4 |
Text MD5: | 074563af465c8840b720f4ff8c85c13c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-25 03:55:35 |
Source code size: | 189 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 372 / 413 |
Version history: | 3 change(s) |
Referenced in: | [show references] |