Class RoundEnvImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.dispatch.RoundEnvImpl
- All Implemented Interfaces:
RoundEnvironment
-
Constructor Summary
ConstructorsConstructorDescriptionRoundEnvImpl(CompilationUnitDeclaration[] units, ReferenceBinding[] binaryTypeBindings, boolean isLastRound, BaseProcessingEnvImpl env) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetElementsAnnotatedWith(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.booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
errorRaisedin interfaceRoundEnvironment
-
getElementsAnnotatedWith
From the set of root elements and their enclosed elements, return the subset that are annotated witha. Ifais annotated with theInheritedannotation, include those elements that inherit the annotation from their superclasses. Note thatInheritedonly applies to classes (i.e. TypeElements).- Specified by:
getElementsAnnotatedWithin interfaceRoundEnvironment
-
getElementsAnnotatedWith
- Specified by:
getElementsAnnotatedWithin interfaceRoundEnvironment
-
getRootElements
- Specified by:
getRootElementsin interfaceRoundEnvironment
-
processingOver
public boolean processingOver()- Specified by:
processingOverin interfaceRoundEnvironment
-