Methods Summary |
---|
public boolean | errorRaised()Returns {@code true} if an error was raised in the prior round
of processing; returns {@code false} otherwise.
|
public java.util.Set | getElementsAnnotatedWith(javax.lang.model.element.TypeElement a)Returns the elements annotated with the given annotation type.
The annotation may appear directly or be inherited.
Only package elements and type elements included in this
round of annotation processing, or declarations of members,
parameters, or type parameters declared within those, are
returned. Included type elements are {@linkplain
#getRootElements root types} and any member types nested within
them. Elements in a package are not considered included simply
because a {@code package-info} file for that package was
created.
|
public java.util.Set | getElementsAnnotatedWith(java.lang.Class a)Returns the elements annotated with the given annotation type.
The annotation may appear directly or be inherited.
Only package elements and type elements included in this
round of annotation processing, or declarations of members,
parameters, or type parameters declared within those, are
returned. Included type elements are {@linkplain
#getRootElements root types} and any member types nested within
them. Elements in a package are not considered included simply
because a {@code package-info} file for that package was
created.
|
public java.util.Set | getRootElements()Returns the root elements for annotation processing generated
by the prior round.
|
public boolean | processingOver()Returns {@code true} if types generated by this round will not
be subject to a subsequent round of annotation processing;
returns {@code false} otherwise.
|