assertj / assertj/assertj-generator
Using annotation processor
- Ngôn ngữ chính
- Java
- Star
- 72
- Fork
- 47
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 2
Mô tả
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?
Hướng dẫn đóng góp
Hướng nghiên cứu
Issue xác định generator và maven-plugin được liên kết là các điểm vào liên quan; hãy bắt đầu bằng cách theo dõi cách plugin truyền các tùy chọn cho generator. Xác định xem có thể tích hợp một Annotation Processor mà không cần dependency trực tiếp vào mã nguồn AssertJ hay không, với các annotation do người dùng định nghĩa được phát hiện thông qua SPI và cấu hình được cung cấp qua các tùy chọn APT.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- build-system, tooling
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 20/100