MCPcopy Create free account
hub / github.com/cbeust/jcommander / main

Method main

src/test/java/com/beust/jcommander/SimpleExample.java:18–22  ·  view source on GitHub ↗
(String ... argv)

Source from the content-addressed store, hash-verified

16 int pattern;
17
18 public static void main(String ... argv) {
19 Main args = new Main();
20 JCommander.newBuilder().addObject(args).build().parse(argv);
21 args.run();
22 }
23
24 public void run() {
25 out.printf("%d %d", length, pattern);

Callers 2

testLongArgsMethod · 0.95
testShortArgsMethod · 0.95

Calls 5

newBuilderMethod · 0.95
runMethod · 0.95
buildMethod · 0.80
parseMethod · 0.45
addObjectMethod · 0.45

Tested by

no test coverage detected