|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RoundEnvironment
An annotation processing tool framework will provide an annotation processor with an object implementing this interface so that the processor can query for information about a round of annotation processing.
| Method Summary | |
|---|---|
boolean |
errorRaised()
Returns true if an error was raised in the prior round
of processing; returns false otherwise. |
java.util.Set<? extends Element> |
getElementsAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> a)
Returns the elements annotated with the given annotation type. |
java.util.Set<? extends Element> |
getElementsAnnotatedWith(TypeElement a)
Returns the elements annotated with the given annotation type. |
java.util.Set<? extends Element> |
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. |
| Method Detail |
|---|
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 otherwiseboolean 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 otherwisejava.util.Set<? extends Element> getRootElements()
java.util.Set<? extends Element> getElementsAnnotatedWith(TypeElement a)
package-info file for that package was
created.
a - annotation type being requested
java.lang.IllegalArgumentException - if the argument does not
represent an annotation typejava.util.Set<? extends Element> getElementsAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> a)
package-info file for that package was
created.
a - annotation type being requested
java.lang.IllegalArgumentException - if the argument does not
represent an annotation type
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||