Ellen Spertus
03/26/2020, 5:36 PM@ExistsForTesting
not just @VisibleForTesting
.russhwolf
03/26/2020, 6:06 PM@RequiresOptIn
and then opt-in only your test sourcesShawn
03/26/2020, 6:43 PM@ExistsForTesting
, anyhow?Shawn
03/26/2020, 6:43 PM@VisibleForTesting
myself tbhEllen Spertus
03/26/2020, 6:44 PMEllen Spertus
03/26/2020, 6:45 PMShawn
03/26/2020, 6:46 PMShawn
03/26/2020, 6:47 PMEllen Spertus
03/26/2020, 6:48 PMShawn
03/26/2020, 6:49 PMEllen Spertus
03/26/2020, 6:50 PMShawn
03/26/2020, 6:52 PMShawn
03/26/2020, 6:52 PMEllen Spertus
03/26/2020, 6:53 PMShawn
03/26/2020, 6:53 PMalthough I know those are famous last wordstoo right lol
Shawn
03/26/2020, 6:53 PMEllen Spertus
03/26/2020, 6:57 PMZach Klippenstein (he/him) [MOD]
03/26/2020, 9:51 PM@TestOnly
that is basically what you’re looking for, i think.
https://www.jetbrains.com/help/idea/annotating-source-code.html#bundled-annotationsDrew Hamilton
03/26/2020, 10:00 PM@VisibleForTesting(otherwise = VisibleForTesting.NONE)
Drew Hamilton
03/26/2020, 10:06 PMEllen Spertus
03/26/2020, 10:07 PMEllen Spertus
03/27/2020, 12:30 AM