Uses 1113K of libraries. Click here for Pure Java version (2673L/14K).
!7 // Phase 1: comment out _renameClasses and call main class Name1 // Load module // Reload module // Phase 2: put _renameClasses back nin and call main class Name2 // Reload module static MapSO _renameClasses = litmap("Name1" := "Name2"); cm Name2 > DynPrintLog { start { print("I am " + className(me()); print("Stem says: " + getOpt _className(dm_stem())); } }
Began life as a copy of #1032110
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032120 |
Snippet name: | Rename Module Class Test (OK) |
Eternal ID of this version: | #1032120/7 |
Text MD5: | 4af276a05dd4630d520c27a9c9dd99b2 |
Transpilation MD5: | 7a26c4f3a49997743d39b503862c726e |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-14 02:16:37 |
Source code size: | 393 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 174 / 227 |
Version history: | 6 change(s) |
Referenced in: | -