Searched refs:mainClass (Results 1 – 13 of 13) sorted by relevance
29 private final Class<?> mainClass; field in MainTargetRunner33 public MainTargetRunner(TargetMonitor monitor, Class<?> mainClass, String[] args) { in MainTargetRunner() argument35 this.mainClass = mainClass; in MainTargetRunner()38 this.main = mainClass.getMethod("main", String[].class); in MainTargetRunner()46 monitor.outcomeStarted(mainClass.getName() + "#main"); in run()
45 private String mainClass; field in VmCommandBuilder108 public VmCommandBuilder mainClass(String mainClass) { in mainClass() argument109 this.mainClass = mainClass; in mainClass()143 checkNotNull(mainClass, "mainClass may not be null"); in build()173 builder.tokens(mainClass); in build()
40 String mainClass = (String) argList.remove(0); in main() local48 ".jline-" + mainClass in main()53 ".jline-" + mainClass + ".history"))); in main()73 Class.forName(mainClass). in main()
36 final String mainClass = args[0]; in main() local42 c = Class.forName(mainClass); in main()47 c = listClasses(false, mainClass); in main()50 … throw new IllegalArgumentException("Class not found and not an alias: " + mainClass); in main()
68 static ProcessBuilder createProcessBuilder(Class<?> mainClass, String ...mainArgs) { in createProcessBuilder() argument72 args = WorkerProcess.getJvmArgs(jvm, BenchmarkClass.forClass(mainClass)); in createProcessBuilder()76 args.add(mainClass.getName()); in createProcessBuilder()
62 .mainClass("mainclass") in testAdbTarget()96 .mainClass("mainclass") in testAdbTarget_Benchmark()
65 .mainClass("mainclass") in testLocalTarget()124 .mainClass("mainclass") in testLocalTarget_Benchmark()
56 .mainClass("mainclass") in testSshTarget()
123 $ mvn exec:java -Dexec.mainClass=io.grpc.examples.helloworld.HelloWorldServer125 $ mvn exec:java -Dexec.mainClass=io.grpc.examples.helloworld.HelloWorldClient
173 .mainClass(TestRunner.class.getName()) in createActionCommand()
16 mvn exec:java -pl webserver -Dexec.mainClass="fi.iki.elonen.SimpleWebServer"77 mvn exec:java -Dexec.mainClass="com.example.App"
396 final Class<?> mainClass = (Class<?>)loader.loadClass(className); in execClass() local397 final Method mainMethod = mainClass.getDeclaredMethod("main", String[].class); in execClass()