Class JavaDocIntegration
java.lang.Object
software.amazon.smithy.traitcodegen.integrations.javadoc.JavaDocIntegration
- All Implemented Interfaces:
SmithyIntegration<TraitCodegenSettings,,TraitCodegenWriter, TraitCodegenContext> TraitCodegenIntegration
Adds all built-in Javadoc-generating interceptors.
This integration adds all the required documentation interceptors that ensure that methods, classes, and properties all have JavaDocs added.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<? extends CodeInterceptor<? extends CodeSection,TraitCodegenWriter>> interceptors(TraitCodegenContext codegenContext) Gets a list ofCodeInterceptors to register with theAbstractCodeWriters created by the code generator.name()Gets the name of the integration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.smithy.codegen.core.SmithyIntegration
configure, customize, decorateSymbolProvider, preprocessModel, priority, runAfter, runBefore
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
JavaDocIntegration
public JavaDocIntegration()
-
-
Method Details
-
name
Description copied from interface:SmithyIntegrationGets the name of the integration.This name is referred to when ordering the graph of integrations. The name defaults to the canonical class name if not overridden.
- Specified by:
namein interfaceSmithyIntegration<TraitCodegenSettings,TraitCodegenWriter, TraitCodegenContext> - Returns:
- Returns the integration name.
-
interceptors
public List<? extends CodeInterceptor<? extends CodeSection,TraitCodegenWriter>> interceptors(TraitCodegenContext codegenContext) Description copied from interface:SmithyIntegrationGets a list ofCodeInterceptors to register with theAbstractCodeWriters created by the code generator.This integration method should be called only after
SmithyIntegration.preprocessModel(software.amazon.smithy.model.Model, S)andSmithyIntegration.decorateSymbolProvider(software.amazon.smithy.model.Model, S, software.amazon.smithy.codegen.core.SymbolProvider).- Specified by:
interceptorsin interfaceSmithyIntegration<TraitCodegenSettings,TraitCodegenWriter, TraitCodegenContext> - Parameters:
codegenContext- Code generation context that can be queried when creating interceptors.- Returns:
- Returns the list of
CodeInterceptors.
-