Candy-Doc / candy-doc-maven-plugin

GNU General Public License v3.0
29 stars 5 forks source link

Ports & Adapters #25

Open aginesy opened 2 years ago

ctacquet commented 2 years ago

We need to add annotations to identify ports and adapters.

gelhaimer commented 2 years ago

Actually, there is maybe no need to "identify" adapters via an annotation. An implementation of the port is necessarily an adapter.

However, it might be interesting to describe the said adapter.

Adapters could then be found by reflection: classes which implements an annotated @Port interface are referenced as adapters. An adapter might be annotated by the @Adapter for description purposes.