Deprecate external library-function


I’m using an external java-dsl with lot’s of builders.
I want to reuse those builders for a kotlin-DSL.
There are some functions which I don’t want that they are called from my DSL.
Can I deprecate them somehow, without changing the library itself?

I don’t think this is currently possible. Can you please create a feature request on with sample code and a motivating use case? Thanks!

1 Like