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

11
LINES

< > BotCompany Repo | #1016057 // javax_prepareX30SourceForDeployment

JavaX fragment (include)

svoid javax_prepareX30SourceForDeployment(L<S> tok) {
  renameToken(tok, "StringFunc", "StrF");
  for (L<S> c : allClasses(tok)) {
    S name = getClassDeclarationName(c);
    if (name.equals("main"))
      clearAllTokens(c);
    else if (name.equals(v) && !c.get(1).equals("public"))
      c.set(1, "public " + c.get(1));
  }
  reTok(tok);
}

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: #1016057
Snippet name: javax_prepareX30SourceForDeployment
Eternal ID of this version: #1016057/2
Text MD5: 38f5f2041bcb14b68c9161a37c2dfe2a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-04 14:14:16
Source code size: 352 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 493 / 511
Version history: 1 change(s)
Referenced in: [show references]