public static interface AnnotationProcessingQuery.Result
ClassPath.getClassPath(org.openide.filesystems.FileObject, java.lang.String)
for JavaClassPathConstants.PROCESSOR_PATH
.Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener l)
Add a
ChangeListener . |
Set<? extends AnnotationProcessingQuery.Trigger> |
annotationProcessingEnabled()
When the annotation processors should be run.
|
Iterable<? extends String> |
annotationProcessorsToRun()
Which annotation processors should be run.
|
Map<? extends String,? extends String> |
processorOptions()
Returns options passed to annotation processors (
"-Akey=value" ). |
void |
removeChangeListener(ChangeListener l)
Remove a
ChangeListener . |
URL |
sourceOutputDirectory()
Returns directory to which the annotation processing (during build process) generates sources, if any.
|
@NonNull Set<? extends AnnotationProcessingQuery.Trigger> annotationProcessingEnabled()
@CheckForNull Iterable<? extends String> annotationProcessorsToRun()
JavaClassPathConstants.PROCESSOR_PATH
,
otherwise only the selected processors will be run. The values should be binary names of the
annotation processors.@CheckForNull URL sourceOutputDirectory()
@NonNull Map<? extends String,? extends String> processorOptions()
"-Akey=value"
). Options are
returned in the form of a map from option key to option value. For an option
with no value the corresponding value in the map is null
.ProcessingEnvironment.getOptions()
void addChangeListener(@NonNull ChangeListener l)
ChangeListener
.l
- the listenervoid removeChangeListener(@NonNull ChangeListener l)
ChangeListener
.l
- the listener