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

9
LINES

< > BotCompany Repo | #1007958 // methodSignature

JavaX fragment (include)

1  
static S methodSignature(S name, O[] args) {
2  
  StringBuilder buf = new StringBuilder(name + "(");
3  
  for i over args: {
4  
    if (i != 0) buf.append(", ");
5  
    buf.append(getClassName(args[i]));
6  
  }
7  
  buf.append(")");
8  
  ret str(buf);
9  
}

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: #1007958
Snippet name: methodSignature
Eternal ID of this version: #1007958/2
Text MD5: b5dc735612a06ea0b1586e700c4d12b2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-17 20:53:59
Source code size: 240 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 414 / 460
Version history: 1 change(s)
Referenced in: [show references]