class AnnotationSpec
A generated annotation on a declaration.
| Builder |
class Builder |
| members |
val members: Map<String, List<CodeBlock>> |
| type |
val type: TypeName |
| equals |
fun equals(other: Any?): Boolean |
| hashCode |
fun hashCode(): Int |
| toBuilder |
fun toBuilder(): Builder |
| toString |
fun toString(): String |
| builder |
fun builder(type: ClassName): Builderfun builder(type: Class<*>): Builderfun builder(type: KClass<*>): Builder |
| get |
fun get(annotation: Annotation, includeDefaultValues: Boolean = false): AnnotationSpecfun get(annotation: AnnotationMirror): AnnotationSpec |