According to this answer package-level deprecation is possible in Java via package-info.java
like so:
/**
* @deprecated As of release 2.0, replaced by {@link com.acme.new.package}
*/
@Deprecated
package com.acme.old.package;
Is there something similar to this mechanism in Kotlin? The Deprecated page documentation doesn't seem to offer guidance on this and I'd prefer not to annotate every function, field, and class separately.