@Beta
public class Main
extends java.lang.Object
NOTE: This is not a public or final API; if you rely on this be prepared to adjust your code for the next tools release.
| Constructor and Description |
|---|
Main()
Creates a CLI driver
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
initializeDriver(com.android.tools.lint.client.api.LintDriver driver)
Hook intended for tests
|
void |
log(java.lang.Throwable exception,
java.lang.String format,
java.lang.Object... args) |
static void |
main(java.lang.String[] args)
Runs the static analysis command line driver
|
void |
run(java.lang.String[] args)
Runs the static analysis command line driver
|
public static void main(java.lang.String[] args)
args - program argumentsprotected void initializeDriver(@NonNull
com.android.tools.lint.client.api.LintDriver driver)
public void run(java.lang.String[] args)
args - program argumentspublic void log(@Nullable
java.lang.Throwable exception,
@Nullable
java.lang.String format,
@Nullable
java.lang.Object... args)