Class CodeReplacingDocumentationSource
java.lang.Object
org.springframework.modulith.docs.CodeReplacingDocumentationSource
- All Implemented Interfaces:
- DocumentationSource
A 
DocumentationSource that replaces {@code …} or {@link …} blocks into inline code
 references- Author:
- Oliver Drotbohm
- 
Constructor SummaryConstructorsConstructorDescriptionCodeReplacingDocumentationSource(DocumentationSource delegate, Asciidoctor asciidoctor) Creates a newCodeReplacingDocumentationSourcefor the given delegateDocumentationSourceandAsciidoctorinstance.
- 
Method SummaryModifier and TypeMethodDescriptiongetDocumentation(com.tngtech.archunit.core.domain.JavaClass type) Returns the documentation to be used for the givenJavaClass.getDocumentation(com.tngtech.archunit.core.domain.JavaMethod method) Returns the documentation to be used for the givenJavaMethod.
- 
Constructor Details- 
CodeReplacingDocumentationSourceCodeReplacingDocumentationSource(DocumentationSource delegate, Asciidoctor asciidoctor) Creates a newCodeReplacingDocumentationSourcefor the given delegateDocumentationSourceandAsciidoctorinstance.- Parameters:
- delegate- must not be null.
- asciidoctor- must not be null.
 
 
- 
- 
Method Details- 
getDocumentationDescription copied from interface:DocumentationSourceReturns the documentation to be used for the givenJavaMethod.- Specified by:
- getDocumentationin interface- DocumentationSource
- Parameters:
- method- must not be null.
- Returns:
- will never be null.
 
- 
getDocumentationDescription copied from interface:DocumentationSourceReturns the documentation to be used for the givenJavaClass.- Specified by:
- getDocumentationin interface- DocumentationSource
- Parameters:
- type- must not be null.
- Returns:
- will never be null.
 
 
-