
main.com.mm.annotation.ServiceProvider.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
import kotlin.reflect.KClass
/**
* 服务提供声明,对外提供可靠能力
* @param path service path
* @param returnType 实现类接口
* @param params 构造参数类型
* @param des 描述
*/
@Retention(AnnotationRetention.RUNTIME)
@Target(
AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS
)
annotation class ServiceProvider(
val returnType: KClass<*>,
val params: Array> = [],
val des: String = ""
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy