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

13
LINES

< > BotCompany Repo | #1007081 // hodvtunwdgcejsmm kbaglqplemtdhfyh - Change the return type of a method in a JavaX source [quick&dirty version]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (6254L/43K/152K).

!7

static void main(S snippetID, S methodName, S oldType, S newType) {
  S java = loadSnippet(snippetID);
  java = jreplace(java,
    oldType + " " + methodName + "(", 
    newType + " " + methodName + "(");
  print(java);
}

p {
  callMethodThroughForm("main", "snippetID methodName oldType newType");
}

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: #1007081
Snippet name: hodvtunwdgcejsmm kbaglqplemtdhfyh - Change the return type of a method in a JavaX source [quick&dirty version]
Eternal ID of this version: #1007081/2
Text MD5: b905d9470976aa623a12a4e5315baedc
Transpilation MD5: 531185a625fbd02dd59228b6ecc19f8b
Author: stefan
Category: javax / a.i.
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-02 17:34:30
Source code size: 317 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 412 / 478
Version history: 1 change(s)
Referenced in: [show references]