
main.com.mm.annotation.Autowired.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of router_annotation Show documentation
Show all versions of router_annotation Show documentation
Activity Result API æ¹å¼å¯å¨çè·¯ç±ç®¡çå¨
The newest version!
package com.mm.annotation
/**
* Annotation for field, which need autowired.
*
* @version 1.0
* @param name // Mark param's name or service name.
* @param required // If required, app will be crash when value is null. Primitive type wont be check!
* @param desc // Description of the field
*/
@Target(AnnotationTarget.FIELD)
@Retention(AnnotationRetention.SOURCE)
annotation class Autowired(
val name: String = "",
val required: Boolean = false,
val desc: String = ""
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy