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).

1  
!7
2  
3  
sbool parseComments;
4  
5  
please include function javaParser_makeAllPublic.
6  
7  
p {
8  
  S src = getServerTranspiled2(#1010745);
9  
  repeat 20 {
10  
    time "Parsing" {
11  
      if (!parseComments) JavaParser.getStaticConfiguration().setAttributeComments(false);
12  
      CompilationUnit cu = javaParseCompilationUnit(src);
13  
    }
14  
    time "Visiting" {
15  
      new javaParser_makeAllPublic_Visitor().visit(cu, null);
16  
    }
17  
    time "Pretty printing" {
18  
      new PrettyPrinterConfiguration ppconf;
19  
      ppconf.setIndent("  ");
20  
      ppconf.setPrintComments(false);
21  
      cu.toString(ppconf);
22  
    }
23  
  }
24  
}

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: 549 / 1115
Version history: 6 change(s)
Referenced in: [show references]