public class RoundEnvImpl
extends java.lang.Object
implements javax.annotation.processing.RoundEnvironment
| Constructor and Description |
|---|
RoundEnvImpl(CompilationUnitDeclaration[] units,
ReferenceBinding[] binaryTypeBindings,
boolean isLastRound,
BaseProcessingEnvImpl env) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
errorRaised() |
java.util.Set<? extends javax.lang.model.element.Element> |
getElementsAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> a) |
java.util.Set<? extends javax.lang.model.element.Element> |
getElementsAnnotatedWith(javax.lang.model.element.TypeElement a)
From the set of root elements and their enclosed elements, return the subset that are annotated
with
a. |
java.util.Set<javax.lang.model.element.TypeElement> |
getRootAnnotations()
Return the set of annotation types that were discovered on the root elements.
|
java.util.Set<? extends javax.lang.model.element.Element> |
getRootElements() |
boolean |
processingOver() |
public RoundEnvImpl(CompilationUnitDeclaration[] units, ReferenceBinding[] binaryTypeBindings, boolean isLastRound, BaseProcessingEnvImpl env)
public java.util.Set<javax.lang.model.element.TypeElement> getRootAnnotations()
public boolean errorRaised()
errorRaised in interface javax.annotation.processing.RoundEnvironmentpublic java.util.Set<? extends javax.lang.model.element.Element> getElementsAnnotatedWith(javax.lang.model.element.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 javax.annotation.processing.RoundEnvironmentpublic java.util.Set<? extends javax.lang.model.element.Element> getElementsAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> a)
getElementsAnnotatedWith in interface javax.annotation.processing.RoundEnvironmentpublic java.util.Set<? extends javax.lang.model.element.Element> getRootElements()
getRootElements in interface javax.annotation.processing.RoundEnvironmentpublic boolean processingOver()
processingOver in interface javax.annotation.processing.RoundEnvironment