Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.3.2
-
None
Description
@PackageScope could be also allowed for constructors. Currently:
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
It is sometimes useful to make an internal class constructor visible also in
tests (by making it package visible). I wonder if there is a technical reason why it is not supported.