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

10
LINES

< > BotCompany Repo | #1002019 // allMethodNames

JavaX fragment (include)

static L<S> allMethodNames(O o) {
  Class c = _getClass(o);
  new TreeSet<S> names;
  while (c != null) {
    for (Method m : c.getDeclaredMethods())
      names.add(m.getName());
    c = c.getSuperclass();
  }
  ret asList(names);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1002019
Snippet name: allMethodNames
Eternal ID of this version: #1002019/2
Text MD5: c495d365d125abb64d8013b43b80d820
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-03 05:44:00
Source code size: 242 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 617 / 1096
Version history: 1 change(s)
Referenced in: [show references]