Package com.jcabi.aspects.apt
Class AsyncReturnTypeProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- com.jcabi.aspects.apt.AsyncReturnTypeProcessor
-
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("com.jcabi.aspects.Async") @SupportedSourceVersion(RELEASE_8) public final class AsyncReturnTypeProcessor extends AbstractProcessor
Annotation processor that checks whether methods annotated withAsynchave void orFuturereturn types.- Since:
- 0.17
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description AsyncReturnTypeProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment env)-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
-
-
-
-
Method Detail
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment env)
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
-