Home
last modified time | relevance | path

Searched refs:mainClass (Results 1 – 25 of 39) sorted by relevance

12

/external/vogar/src/vogar/target/
DMainTargetRunner.java29 private final Class<?> mainClass; field in MainTargetRunner
33 public MainTargetRunner(TargetMonitor monitor, Class<?> mainClass, String[] args) { in MainTargetRunner() argument
35 this.mainClass = mainClass; in MainTargetRunner()
38 this.main = mainClass.getMethod("main", String[].class); in MainTargetRunner()
46 monitor.outcomeStarted(mainClass.getName() + "#main"); in run()
/external/vogar/src/vogar/commands/
DVmCommandBuilder.java45 private String mainClass; field in VmCommandBuilder
108 public VmCommandBuilder mainClass(String mainClass) { in mainClass() method in VmCommandBuilder
109 this.mainClass = mainClass; in mainClass()
143 checkNotNull(mainClass, "mainClass may not be null"); in build()
173 builder.tokens(mainClass); in build()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DMain.java36 final String mainClass = args[0]; in main() local
40 Class<?> c = findMainClass(mainClass); in main()
62 …public static Class<?> findMainClass(final String mainClass) throws IllegalArgumentException, IOEx… in findMainClass() argument
66 c = Class.forName(mainClass); in findMainClass()
71 c = findMainClass(mainClass, getMainClassList()); in findMainClass()
74 throw new IllegalArgumentException("Class not found and not an alias: " + mainClass); in findMainClass()
137 private static Class<?> findMainClass(String mainClass, Set<ClassEntry> mainClassList) { in findMainClass() argument
139 if (mainClass.equalsIgnoreCase(e.name()) || in findMainClass()
140 mainClass.equalsIgnoreCase(e.alias())) { in findMainClass()
/external/ow2-asm/asm-tree/src/main/java/org/objectweb/asm/tree/
DModuleNode.java59 public String mainClass; field in ModuleNode
144 public void visitMainClass(final String mainClass) { in visitMainClass() argument
145 this.mainClass = mainClass; in visitMainClass()
211 if (mainClass != null) { in accept()
212 moduleVisitor.visitMainClass(mainClass); in accept()
/external/jline/src/src/main/java/jline/
DConsoleRunner.java40 String mainClass = (String) argList.remove(0); in main() local
48 ".jline-" + mainClass in main()
53 ".jline-" + mainClass + ".history"))); in main()
73 Class.forName(mainClass). in main()
/external/ow2-asm/asm-util/src/main/java/org/objectweb/asm/util/
DTraceModuleVisitor.java65 public void visitMainClass(final String mainClass) { in visitMainClass() argument
66 p.visitMainClass(mainClass); in visitMainClass()
67 super.visitMainClass(mainClass); in visitMainClass()
DCheckModuleAdapter.java96 public void visitMainClass(final String mainClass) { in visitMainClass() argument
98 CheckMethodAdapter.checkInternalName(Opcodes.V9, mainClass, "module main class"); in visitMainClass()
99 super.visitMainClass(mainClass); in visitMainClass()
DPrinter.java545 public void visitMainClass(final String mainClass) { in visitMainClass() argument
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DFakeWorkers.java68 static ProcessBuilder createProcessBuilder(Class<?> mainClass, String ...mainArgs) { in createProcessBuilder() argument
72 args = WorkerProcess.getJvmArgs(jvm, BenchmarkClass.forClass(mainClass)); in createProcessBuilder()
76 args.add(mainClass.getName()); in createProcessBuilder()
/external/ow2-asm/asm/src/main/java/org/objectweb/asm/
DModuleVisitor.java101 public void visitMainClass(final String mainClass) { in visitMainClass() argument
103 mv.visitMainClass(mainClass); in visitMainClass()
DModuleWriter.java111 public void visitMainClass(final String mainClass) { in visitMainClass() argument
112 this.mainClassIndex = symbolTable.addConstantClass(mainClass).index; in visitMainClass()
/external/vogar/test/vogar/android/
DDeviceRuntimeAdbTargetTest.java62 .mainClass("mainclass") in testAdbTarget()
96 .mainClass("mainclass") in testAdbTarget_Benchmark()
DHostRuntimeLocalTargetTest.java65 .mainClass("mainclass") in testLocalTarget()
127 .mainClass("mainclass") in testLocalTarget_Benchmark()
DDeviceRuntimeSshTargetTest.java56 .mainClass("mainclass") in testSshTarget()
/external/ow2-asm/asm-commons/src/main/java/org/objectweb/asm/commons/
DModuleRemapper.java70 public void visitMainClass(final String mainClass) { in visitMainClass() argument
71 super.visitMainClass(remapper.mapType(mainClass)); in visitMainClass()
/external/doclava/buildSrc/src/main/kotlin/
Dcom.google.doclava.java-application-conventions.gradle.kts26 mainClass.set("com.google.doclava.Doclava")
/external/okio/samples/
Dbuild.gradle4 mainClassName = System.getProperty("mainClass")
/external/doclava/doclet_adapter/
Dbuild.gradle.kts89 application.mainClass.get(), in <lambda>()
/external/dagger2/javatests/artifacts/dagger/kotlin-app/
Dbuild.gradle44 mainClass = 'app.SimpleApplicationKt'
/external/grpc-grpc-java/examples/
DREADME.md123 $ mvn exec:java -Dexec.mainClass=io.grpc.examples.helloworld.HelloWorldServer
125 $ mvn exec:java -Dexec.mainClass=io.grpc.examples.helloworld.HelloWorldClient
/external/vogar/src/vogar/tasks/
DRunActionTask.java173 .mainClass(TestRunner.class.getName()) in createActionCommand()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DMethodsResolutionTest.java448 ClassOrInterfaceDeclaration mainClass = Navigator.demandClass(cu, "Main"); in complexTypeSolving() local
450 ClassOrInterfaceDeclaration childDec = (ClassOrInterfaceDeclaration) mainClass.getMember(1); in complexTypeSolving()
458 assertEquals(mainClass, resolvedTypeDeclaration.getParentNode().get()); in complexTypeSolving()
/external/nanohttpd/
DREADME.md16 mvn exec:java -pl webserver -Dexec.mainClass="fi.iki.elonen.SimpleWebServer"
77 mvn exec:java -Dexec.mainClass="com.example.App"
/external/nanohttpd/src/site/markdown/
Dindex.md16 mvn exec:java -pl webserver -Dexec.mainClass="fi.iki.elonen.SimpleWebServer"
77 mvn exec:java -Dexec.mainClass="com.example.App"
/external/antlr/tool/src/test/java/org/antlr/test/
DBaseTest.java396 final Class<?> mainClass = (Class<?>)loader.loadClass(className); in execClass() local
397 final Method mainMethod = mainClass.getDeclaredMethod("main", String[].class); in execClass()

12