2 ms·
We use package-private and @VisibleForTesting (I forget which library provides that now) for these cases.
by brabel 3y ago
We use package-private and @VisibleForTesting (I forget which library provides that now) for these cases.
- sanderjd 3y ago@VisibleForTesting is mostly documentation; you can just as easily use package private without an annotation. (Though yeah, I think it's good to use the annotation anyway.)