Class RoundEnvImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.RoundEnvImpl
- All Implemented Interfaces:
RoundEnvironment
-
Constructor Summary
ConstructorDescriptionRoundEnvImpl(CompilationUnitDeclaration[] units, ReferenceBinding[] binaryTypeBindings, boolean isLastRound, BaseProcessingEnvImpl env)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getElementsAnnotatedWith(Class<? extends Annotation> a)
From the set of root elements and their enclosed elements, return the subset that are annotated witha
.Return the set of annotation types that were discovered on the root elements.boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.annotation.processing.RoundEnvironment
getElementsAnnotatedWithAny, getElementsAnnotatedWithAny
-
Constructor Details
-
RoundEnvImpl
public RoundEnvImpl(CompilationUnitDeclaration[] units, ReferenceBinding[] binaryTypeBindings, boolean isLastRound, BaseProcessingEnvImpl env)
-
-
Method Details
-
getRootAnnotations
Return the set of annotation types that were discovered on the root elements. This does not include inherited annotations, only those directly on the root elements.- Returns:
- a set of annotation types, possibly empty.
-
errorRaised
public boolean errorRaised()- Specified by:
errorRaised
in interfaceRoundEnvironment
-
getElementsAnnotatedWith
From the set of root elements and their enclosed elements, return the subset that are annotated witha
. Ifa
is annotated with theInherited
annotation, include those elements that inherit the annotation from their superclasses. Note thatInherited
only applies to classes (i.e. TypeElements).- Specified by:
getElementsAnnotatedWith
in interfaceRoundEnvironment
-
getElementsAnnotatedWith
- Specified by:
getElementsAnnotatedWith
in interfaceRoundEnvironment
-
getRootElements
- Specified by:
getRootElements
in interfaceRoundEnvironment
-
processingOver
public boolean processingOver()- Specified by:
processingOver
in interfaceRoundEnvironment
-