assertj / assertj/assertj-generator
Using annotation processor
- Langage dominant
- Java
- Étoiles
- 72
- Forks
- 47
- Merge moyen
- 1 j 16 h
- PR mergées (30 j)
- 2
Description
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?
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
L’issue identifie le générateur et le maven-plugin associé comme points d’entrée pertinents ; commencez par suivre la manière dont le plugin transmet les options au générateur. Déterminez si un Annotation Processor peut être intégré sans dépendance directe au code source d’AssertJ, les annotations définies par l’utilisateur étant découvertes via SPI et la configuration étant fournie par des options APT.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- build-system, tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 20/100