assertj / assertj/assertj-generator
Using annotation processor
- Lingua principale
- Java
- Stelle
- 72
- Fork
- 47
- Merge medio
- 1g 16h
- PR unite (30g)
- 2
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
La issue identifica il generatore e il maven-plugin collegato come punti di ingresso rilevanti; inizia tracciando il modo in cui il plugin passa le opzioni al generatore. Determina se sia possibile integrare un Annotation Processor senza una dipendenza diretta dal codice sorgente di AssertJ, con annotazioni definite dall’utente rilevate tramite SPI e la configurazione fornita tramite opzioni APT.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- build-system, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 20/100