JetBrains / JetBrains/java-annotations
@TestOnly should be allowed for ElementType.PACKAGE
Đang mở
Phù hợp với người mới
- Ngôn ngữ chính
- Kotlin
- Star
- 463
- Fork
- 72
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I have a maven module which should only be used for tests in other modules.
Therefore, it would be very useful to be able to provide the package with `@TestOnly` in a `package-info.java` and not to provide every single class of the module with it.
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by reading the @TestOnly declaration and its ElementType targets. Check how package-info.java can apply the annotation, then verify that package-level use is accepted and the existing project checks pass.
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
- tooling
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 65/100