commonMain.org.brightify.hyperdrive.Provided.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of runtime Show documentation
Show all versions of runtime Show documentation
Hyperdrive implementation that's needed for observations and such
package org.brightify.hyperdrive
/**
* Marks a constructor parameter as *provided*.
*
* Use to inform [AutoFactory] generator which parameters of a constructor are supposed to be provided when creating a new class (as opposed to
* being provided to the Factory constructor).
*
* Future plans:
* - Support for renaming the parameter.
*/
@Target(AnnotationTarget.VALUE_PARAMETER)
@Retention(AnnotationRetention.SOURCE)
public annotation class Provided