Join Slack
Powered by
Is there a similar annotation to `@VisibleForTesti...
# announcements
a
adams2
06/21/2019, 5:59 PM
Is there a similar annotation to
@VisibleForTesting
for this situation
adams2
06/21/2019, 5:59 PM
I want to mark a method private, but I want to inline it too
s
serebit
06/21/2019, 6:03 PM
@PublishedApi
, maybe?
👌 1
👨🍳 1
serebit
06/21/2019, 6:04 PM
That doesn't work for private, but it does work for internal
a
adams2
06/21/2019, 6:08 PM
that works out great!
l
louiscad
06/21/2019, 7:54 PM
You can also use a private experimental annotation to prevent usage in the same module (and annotate your public inline function with UseExperimental)
10
Views
Open in Slack
Previous
Next