Package | Description |
---|---|
org.netbeans.api.java.source |
Permits inspection and modification of the structure of Java sources.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CancellableTask<P>
Cancellable runnable which takes parameter of given type.
|
Modifier and Type | Method and Description |
---|---|
static Future<Void> |
ScanUtils.postUserActionTask(JavaSource src,
Task<CompilationController> uat)
Runs the user task through
JavaSource.runUserActionTask(org.netbeans.api.java.source.Task<org.netbeans.api.java.source.CompilationController>, boolean) , and returns Future completion handle for it. |
ModificationResult |
JavaSource.runModificationTask(Task<WorkingCopy> task)
Runs a task which permits for modifying the sources.
|
void |
JavaSource.runUserActionTask(Task<CompilationController> task,
boolean shared)
Runs a task which permits for controlling phases of the parsing process.
|
Future<Void> |
JavaSource.runWhenScanFinished(Task<CompilationController> task,
boolean shared)
Performs the given task when the scan finished.
|
static void |
ScanUtils.waitUserActionTask(JavaSource src,
Task<CompilationController> uat)
Runs user action over source 'src' using
JavaSource.runUserActionTask(org.netbeans.api.java.source.Task<org.netbeans.api.java.source.CompilationController>, boolean) and waits for its completion. |