se.ansman.deager.models.AnnotationModel.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compiler Show documentation
Show all versions of compiler Show documentation
Eager Singletons with Dagger
The newest version!
package se.ansman.deager.models
import kotlin.reflect.KClass
interface AnnotationModel {
val declaredAnnotations: List>
fun isOfType(type: KClass<*>): Boolean
fun getValue(name: String): T?
fun toAnnotationSpec(): AnnotationSpec
}