Description
Hello,
In junit-quickcheck I found myself wanting to make both FrameworkMethod
s and FrameworkField
s. FrameworkMethod
's constructor is public; FrameworkField
's constructor is package-private. I tried to be sneaky and make the class that uses the FrameworkField
constructor a package cohabitant of FrameworkField
. Now, however, some of my users are reporting an error when running junit-quickcheck tests, along the lines of this issue.
In the short term, I'd try to clone FrameworkField
, put it in a junit-quickcheck package, and move on -- except that FrameworkField
contains package-private abstract methods that I won't be able to override (better for those to be marked protected
?)
Longer term -- would it be possible to promote FrameworkField
's actor to public?
Thanks for your consideration.