Class DocumentationProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.linecorp.armeria.server.annotation.processor.DocumentationProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes({"com.linecorp.armeria.server.annotation.Post","com.linecorp.armeria.server.annotation.Get","com.linecorp.armeria.server.annotation.Put","com.linecorp.armeria.server.annotation.Delete","com.linecorp.armeria.server.annotation.Head","com.linecorp.armeria.server.annotation.Options","com.linecorp.armeria.server.annotation.Patch"}) @SupportedSourceVersion(RELEASE_8) public final class DocumentationProcessor extends AbstractProcessor
Processor that creates a properties file based on the JavaDoc/KDoc description of parameters for interfaces.
This file can be later used if the
Description
annotation does not exist for parameters or methods.-
Field Summary
-
Constructor Summary
Constructors Constructor Description DocumentationProcessor()
-
Method Summary
Modifier and Type Method Description boolean
process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
-
Constructor Details
-
DocumentationProcessor
public DocumentationProcessor()
-
-
Method Details
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-