Interface DocumentationSource
- All Known Implementing Classes:
CodeReplacingDocumentationSource
,SpringAutoRestDocsDocumentationSource
interface DocumentationSource
Interface to abstract different ways of looking up documentation for code abstractions.
- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptiongetDocumentation
(com.tngtech.archunit.core.domain.JavaMethod method) Returns the documentation to be used for the givenJavaMethod
.
-
Method Details
-
getDocumentation
Returns the documentation to be used for the givenJavaMethod
.- Parameters:
method
- must not be null.- Returns:
- will never be null.
-