@groovy.transform.CompileStatic class MainClassFinder extends java.lang.Object
Modifiers | Name | Description |
---|---|---|
static class |
MainClassFinder.MainMethodFinder |
Type | Name and description |
---|---|
static java.util.Map<java.lang.String, java.lang.String> |
mainClasses |
Constructor and description |
---|
MainClassFinder
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static java.lang.String |
findMainClass(java.io.File rootFolder) |
|
protected static boolean |
isMainClass(groovyjarjarasm.asm.ClassReader classReader) |
|
static java.lang.String |
searchMainClass(java.net.URI path) Searches for the main class relative to the give path that is within the project tree |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Searches for the main class relative to the give path that is within the project tree
path
- The path as a URIGroovy Documentation