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

6
LINES

< > BotCompany Repo | #1002202 // getNameOfPublicClass

JavaX fragment (include)

static S getNameOfPublicClass(L<S> tok) {
  for (L<S> c : allClasses(tok))
    if (hasModifier(c, "public"))
      return getClassDeclarationName(c);
  return null;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1002202
Snippet name: getNameOfPublicClass
Eternal ID of this version: #1002202/1
Text MD5: 3de4d20135b7252569673b829e264d70
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-12-25 18:23:00
Source code size: 173 bytes / 6 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 561 / 1034
Referenced in: [show references]