Property

@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class Property(val types: KClass<*>)

This annotation marks a Field as a property that can automatically be injected by a VitalConfig. Use this annotation inside a VitalConfig implementer or any other class than is used as a value in a VitalConfig implementer.

Properties

Link copied to clipboard
val types: Array<out KClass<*>>