assertj / assertj/assertj-generator
Using annotation processor
- Vorherrschende Sprache
- Java
- Sterne
- 72
- Forks
- 47
- Ø Merge
- 1 T. 16 Std.
- Gemergte PRs (30 T.)
- 2
Beschreibung
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?
Beitragsleitfaden
Rechercherichtung
Das Issue identifiziert den Generator und das verknüpfte maven-plugin als relevante Einstiegspunkte; beginne damit nachzuverfolgen, wie das Plugin Optionen an den Generator übergibt. Ermittle, ob ein Annotation Processor integriert werden kann, ohne eine direkte AssertJ-Quellcodeabhängigkeit, wobei benutzerdefinierte Annotationen über SPI entdeckt und die Konfiguration über APT-Optionen bereitgestellt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- build-system, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100