assertj / assertj/assertj-generator
Using annotation processor
- 主要言語
- Java
- スター
- 72
- フォーク
- 47
- 平均マージ
- 1日 16時間
- マージ済み PR(30日)
- 2
説明
Have you considered having an annotation processor that can be used for the generator?
I think that it can be done without any direct dependency on AssertJ in the sources. The supported annotation can be some user defined annotation that would be found via an SPI, the configuration parameters can be controlled via APT options.
I haven't looked at the code, but I assume that the entire logic is in here, the [maven-plugin](https://github.com/joel-costigliola/assertj-assertions-generator-maven-plugin) just passes the options to the generator that does everything.
Is this something that would be interesting for the generator?
コントリビューションガイド
調査の方向性
この issue では、generator とリンクされている maven-plugin が関連するエントリーポイントとして特定されています。まず、plugin が generator にオプションを渡す方法を追跡してください。直接的な AssertJ ソース依存関係なしで Annotation Processor を統合できるかどうかを確認し、ユーザー定義アノテーションを SPI で検出し、設定を APT オプションで提供できるようにします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- build-system, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100