JetBrains / JetBrains/java-annotations

@TestOnly should be allowed for ElementType.PACKAGE

Open
#123 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
463
Forks
72
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.