On 2017-10-17 00:06, Jesse Glick wrote:
> On Mon, Oct 16, 2017 at 1:20 PM, Oliver Gondža <
ogo...@gmail.com> wrote:
>> from a library design standpoint I see no reason to
>> introduce dependencies on its _clients_.
>
> You are talking about a plugin bundling some theoretically independent
> library, so not able to use `@Whitelisted`?
Yes.
> You could define your own
> annotation for methods intended to be called in the public API, or if
> you are really really sure you know what you are doing and have a very
> simple mechanical rule for classifying such methods, then you can have
> a programmatic whitelist
Yes, I guess I will have to - whitelisting whole classes / packages
while making sure they are coming from plugin jar. Thanks!
--
oliver