public abstract class BaseProcessor extends AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
protected com.sun.source.util.DocTrees |
docTrees |
protected io.vertx.docgen.Helper |
helper |
protected Set<PostProcessor> |
postProcessors |
protected Map<String,io.vertx.docgen.BaseProcessor.ElementResolution> |
resolutions |
protected List<String> |
sources |
processingEnv| Constructor and Description |
|---|
BaseProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
applyPostProcessors(String name2,
String content)
Apply post-processors.
|
String |
applyVariableSubstitution(String content)
Replace `@{var} by the variable value passed to the annotation processor.
|
protected abstract Iterable<DocGenerator> |
generators() |
protected String |
getExtension() |
PostProcessor |
getPostProcessor(String name) |
Set<String> |
getSupportedAnnotationTypes() |
Set<String> |
getSupportedOptions() |
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment processingEnv) |
protected String |
postProcess(String name,
String content) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
BaseProcessor |
registerPostProcessor(PostProcessor postProcessor) |
protected String |
resolveLinkToPackageDoc(PackageElement elt) |
protected void |
write(DocGenerator generator,
io.vertx.docgen.BaseProcessor.Doc doc,
String content) |
getCompletions, isInitializedprotected com.sun.source.util.DocTrees docTrees
protected io.vertx.docgen.Helper helper
protected Set<PostProcessor> postProcessors
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorpublic Set<String> getSupportedOptions()
getSupportedOptions in interface ProcessorgetSupportedOptions in class AbstractProcessorpublic Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface ProcessorgetSupportedAnnotationTypes in class AbstractProcessorpublic BaseProcessor registerPostProcessor(PostProcessor postProcessor)
public PostProcessor getPostProcessor(String name)
public void init(ProcessingEnvironment processingEnv)
init in interface Processorinit in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorprotected abstract Iterable<DocGenerator> generators()
protected String getExtension()
protected String resolveLinkToPackageDoc(PackageElement elt)
protected void write(DocGenerator generator, io.vertx.docgen.BaseProcessor.Doc doc, String content)
protected String applyPostProcessors(String name2, String content)
content - the (asciidoc) contentCopyright © 2018 Eclipse. All rights reserved.