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

8
LINES

< > BotCompany Repo | #1003481 // findInnerClassOfMain - by name

JavaX fragment (include)

static L<S> findInnerClassOfMain(L<S> tok, S className) {
  for (L<S> c : innerClassesOfMain(tok)) {
    S name = getClassDeclarationName(c);
    if (eq(name, className))
      ret c;
  }
  ret null;
}

Author comment

Began life as a copy of #1001863

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003481
Snippet name: findInnerClassOfMain - by name
Eternal ID of this version: #1003481/3
Text MD5: cfdaa8fe3618e3355785e4c6973da75b
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-28 12:54:06
Source code size: 208 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 666 / 1301
Version history: 2 change(s)
Referenced in: [show references]