Skip to content

Commit

Permalink
fix: allow usage on ctor
Browse files Browse the repository at this point in the history
(cherry picked from commit 9842ded)
  • Loading branch information
ChrisKujawa authored and github-actions[bot] committed Dec 20, 2022
1 parent 94cf82c commit 135d274
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* comprehensive tests. In general, you should try to avoid this, but at times there is no other
* way.
*/
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD, ElementType.CONSTRUCTOR})
@Retention(RetentionPolicy.SOURCE)
@Documented
public @interface VisibleForTesting {}

0 comments on commit 135d274

Please sign in to comment.