public class RoundEnvImpl extends Object implements RoundEnvironment
| Constructor and Description |
|---|
RoundEnvImpl(CompilationUnitDeclaration[] units,
ReferenceBinding[] binaryTypeBindings,
boolean isLastRound,
BaseProcessingEnvImpl env) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
errorRaised() |
Set<? extends Element> |
getElementsAnnotatedWith(Class<? extends Annotation> a) |
Set<? extends Element> |
getElementsAnnotatedWith(TypeElement a)
From the set of root elements and their enclosed elements, return the subset that are annotated
with
a. |
Set<TypeElement> |
getRootAnnotations()
Return the set of annotation types that were discovered on the root elements.
|
Set<? extends Element> |
getRootElements() |
boolean |
processingOver() |
public RoundEnvImpl(CompilationUnitDeclaration[] units, ReferenceBinding[] binaryTypeBindings, boolean isLastRound, BaseProcessingEnvImpl env)
public Set<TypeElement> getRootAnnotations()
public boolean errorRaised()
errorRaised in interface RoundEnvironmentpublic Set<? extends Element> getElementsAnnotatedWith(TypeElement a)
a. If a is annotated with the Inherited
annotation, include those elements that inherit the annotation from their superclasses.
Note that Inherited only applies to classes (i.e. TypeElements).getElementsAnnotatedWith in interface RoundEnvironmentpublic Set<? extends Element> getElementsAnnotatedWith(Class<? extends Annotation> a)
getElementsAnnotatedWith in interface RoundEnvironmentpublic Set<? extends Element> getRootElements()
getRootElements in interface RoundEnvironmentpublic boolean processingOver()
processingOver in interface RoundEnvironmentCopyright © 2013. All rights reserved.