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

11
LINES

< > BotCompany Repo | #1031812 // MethodCall_noeq

JavaX fragment (include)

static noeq record MethodCall_noeq(O object, O function, O... args) implements Transformable {
  toString {
    ret object + "." + function + "(" + joinWithComma(allToString(args)) + ")";
  }
  
  L args() { ret asList(args); }
  
  public Object transformUsing(IF1 f) {
    ret new MethodCall_noeq(f.get(object), f.get(function), mapObjectArray(f, args));
  }
}

Author comment

Began life as a copy of #1021612

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031812
Snippet name: MethodCall_noeq
Eternal ID of this version: #1031812/1
Text MD5: 122daeebf8ee55e5e26c43cebafdab55
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-07-02 20:14:36
Source code size: 372 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 141 / 231
Referenced in: [show references]