public class CheckerFrameworkPluginExtension
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TASK_EXTENSION_NAME |
| Constructor and Description |
|---|
CheckerFrameworkPluginExtension(org.gradle.api.Project project) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChecker(java.lang.String newChecker)
Add a new typechecker to the list of checkers that should be executed.
|
void |
addTask(java.lang.String taskName)
Adds a task to the list of tasks that the Checker Framework
will be executed as part of.
|
void |
applyTo(org.gradle.api.tasks.compile.JavaCompile task)
Applies the Checker Framework to the given task.
|
public static final java.lang.String TASK_EXTENSION_NAME
public CheckerFrameworkPluginExtension(org.gradle.api.Project project)
public void addTask(java.lang.String taskName)
taskName - the name of the task to modifypublic void addChecker(java.lang.String newChecker)
newChecker - the fully-qualified name of the new typechecker,
e.g. "org.extension.checker.index.IndexChecker".public void applyTo(org.gradle.api.tasks.compile.JavaCompile task)
task - the task to apply the CF to.TASK_EXTENSION_NAME