class AnnotationSpec : Taggable
A generated annotation on a declaration.
class Builder : Taggable.Builder<AnnotationSpec.Builder> |
|
enum class UseSiteTarget |
val className: ClassName |
|
val members: List<CodeBlock> |
|
val useSiteTarget: AnnotationSpec.UseSiteTarget? |
fun equals(other: Any?): Boolean |
|
fun hashCode(): Int |
|
fun toBuilder(): AnnotationSpec.Builder |
|
fun toString(): String |
fun builder(type: ClassName): AnnotationSpec.Builderfun builder(type: Class<out Annotation>): AnnotationSpec.Builderfun builder(type: KClass<out Annotation>): AnnotationSpec.Builder |
|
fun get(annotation: Annotation, includeDefaultValues: Boolean = false): AnnotationSpecfun get(annotation: AnnotationMirror): AnnotationSpec |
fun <T : Any> Taggable.tag(): T?
Returns the tag attached with T as a key, or null if no tag is attached with that key. |