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

24
LINES

< > BotCompany Repo | #1011245 // Bench javaParser_makeAllPublic steps [OK]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 2039K of libraries. Click here for Pure Java version (4491L/29K).

!7

sbool parseComments;

please include function javaParser_makeAllPublic.

p {
  S src = getServerTranspiled2(#1010745);
  repeat 20 {
    time "Parsing" {
      if (!parseComments) JavaParser.getStaticConfiguration().setAttributeComments(false);
      CompilationUnit cu = javaParseCompilationUnit(src);
    }
    time "Visiting" {
      new javaParser_makeAllPublic_Visitor().visit(cu, null);
    }
    time "Pretty printing" {
      new PrettyPrinterConfiguration ppconf;
      ppconf.setIndent("  ");
      ppconf.setPrintComments(false);
      cu.toString(ppconf);
    }
  }
}

Author comment

Began life as a copy of #1011244

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1011245
Snippet name: Bench javaParser_makeAllPublic steps [OK]
Eternal ID of this version: #1011245/7
Text MD5: fbf39f9c39d8d5a4c29ce7e12e4459d4
Transpilation MD5: 4943062b84fed842bd4518557924c2d2
Author: stefan
Category: javax / parsing
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-25 01:28:32
Source code size: 606 bytes / 24 lines
Pitched / IR pitched: No / No
Views / Downloads: 547 / 1112
Version history: 6 change(s)
Referenced in: [show references]