public final class SchemaDocumenterPostProcessor extends Object implements org.mule.extension.introspection.declaration.spi.DescriberPostProcessor
DescriberPostProcessor
that's only applicable when invoked in the context of an
annotations Processor
.
This post processor uses the APT API to access the AST tree and extract the extensions
javadocs which are used to enrich the extension's descriptions.
For this to be possible, the context should have as custom parameters a ProcessingEnvironment
and the corresponding TypeElement
, which will be fetched in the
provided context under the keys ExtensionResourcesGeneratorAnnotationProcessor.PROCESSING_ENVIRONMENT
and
ExtensionResourcesGeneratorAnnotationProcessor.EXTENSION_ELEMENT
.
If any of the above requirements is not met, then the post processor will skip the extensionConstructor and Description |
---|
SchemaDocumenterPostProcessor() |
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.