Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1013089 // clearAllVariables - thorough clean-up of program

JavaX fragment (include)

static void clearAllVariables() ctex {
  for (Field f : allFieldObjects(mc()))
    if (!f.getType().isPrimitive() && (f.getModifiers() & Modifier.FINAL) == 0)
      f.set(null, null);
}

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: 287 / 325
Version history: 3 change(s)
Referenced in: [show references]