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"})
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
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
Constructor Details
-
DocumentationProcessor
public DocumentationProcessor()
-
-
Method Details
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-