/** * Sets the description of the given {@link ExtensionDeclaration} and its inner configs and operations by extracting information * of the AST tree represented by {@code extensionElement} and {@code roundEnvironment} * * @param extensionDeclaration a {@link ExtensionDeclaration} on which configurations and operations have already been declared * @param extensionElement a {@link TypeElement} generated by an annotation {@link Processor} */ void document(ExtensionDeclaration extensionDeclaration, TypeElement extensionElement) { extensionDeclaration.setDescription(processor.getJavaDocSummary(processingEnv, extensionElement)); sourceDocumenter.document(extensionElement, extensionDeclaration); operationDocumenter.document(extensionElement, extensionDeclaration); documentConfigurations(extensionDeclaration, extensionElement); }
declaration.setDescription(documentation.getExtension().getDescription()); new DeclarationWalker() {
/** * Sets the description of the given {@link ExtensionDeclaration} and its inner configs and operations by extracting information * of the AST tree represented by {@code extensionElement} and {@code roundEnvironment} * * @param extensionDeclaration a {@link ExtensionDeclaration} on which configurations and operations have already been declared * @param extensionElement a {@link TypeElement} generated by an annotation {@link Processor} */ void document(ExtensionDeclaration extensionDeclaration, TypeElement extensionElement) { extensionDeclaration.setDescription(processor.getJavaDocSummary(processingEnv, extensionElement)); sourceDocumenter.document(extensionElement, extensionDeclaration); operationDocumenter.document(extensionElement, extensionDeclaration); documentConfigurations(extensionDeclaration, extensionElement); }
declaration.setDescription(documentation.getExtension().getDescription()); new DeclarationWalker() {