All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.com.mm.annotation.Autowired.kt Maven / Gradle / Ivy

Go to download

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