sksamuel / aedile

Kotlin Wrapper for Caffeine
Apache License 2.0
170 stars 15 forks source link

Enforce explicit API visibility modifiers #9

Open zTrap opened 1 year ago

zTrap commented 1 year ago

I think Explicit API mode should be enabled

Provide an 'Explicit API' mode in the compiler which helps library authoring. Such mode should prevent delivery of unintended public API/ABI to the clients by requiring explicit visibility modifier and explicit return types for public declarations.

As described here this mode will helps to prevent delivery of unintended public API