public interface RoundEnvironment
| Modifier and Type | Method and Description |
|---|---|
boolean |
errorRaised()
Returns
true if an error was raised in the prior round of processing; returns
false otherwise.
|
Set |
getElementsAnnotatedWith(Class
Returns the elements annotated with the given annotation type.
|
Set |
getElementsAnnotatedWith(TypeElement
Returns the elements annotated with the given annotation type.
|
Set |
getRootElements()
Returns the root elements for annotation processing generated by the prior round.
|
boolean |
processingOver()
Returns
true if types generated by this round will not be subject to a subsequent round of annotation processing; returns
false otherwise.
|
boolean processingOver()
true if types generated by this round will not be subject to a subsequent round of annotation processing; returns
false otherwise.
true if types generated by this round will not be subject to a subsequent round of annotation processing; returns
false otherwise
boolean errorRaised()
true if an error was raised in the prior round of processing; returns
false otherwise.
true if an error was raised in the prior round of processing; returns
false otherwise
Set<? extends Element > getRootElements()
Set<? extends Element > getElementsAnnotatedWith(TypeElement a)
package-info file for that package was created.
a - annotation type being requested
IllegalArgumentException - if the argument does not represent an annotation type
Set<? extends Element > getElementsAnnotatedWith(Class <? extends Annotation > a)
package-info file for that package was created.
a - annotation type being requested
IllegalArgumentException - if the argument does not represent an annotation type