| com.squareup.kotlinpoet.AnnotationSpec |
A generated annotation on a declaration. |
| java.lang.Class (extensions in package com.squareup.kotlinpoet) | |
| com.squareup.kotlinpoet.ClassName |
A fully-qualified class name for top-level and member classes. |
| com.squareup.kotlinpoet.CodeBlock |
A fragment of a .kt file, potentially containing declarations, statements, and documentation. Code blocks are not necessarily well-formed Kotlin code, and are not validated. This class assumes kotlinc will check correctness later! |
| kotlin.collections.Collection (extensions in package com.squareup.kotlinpoet) | |
| com.squareup.kotlinpoet.FileSpec |
A Kotlin file containing top level objects like classes, objects, functions, properties, and type aliases. |
| com.squareup.kotlinpoet.FunSpec |
A generated function declaration. |
| kotlin.reflect.KClass (extensions in package com.squareup.kotlinpoet) | |
| com.squareup.kotlinpoet.KModifier | |
| com.squareup.kotlinpoet.LambdaTypeName | |
| com.squareup.kotlinpoet.NameAllocator |
Assigns Kotlin identifier names to avoid collisions, keywords, and invalid characters. To use, first create an instance and allocate all of the names that you need. Typically this is a mix of user-supplied names and constants: |
| com.squareup.kotlinpoet.ParameterSpec |
A generated parameter declaration. |
| java.lang.reflect.ParameterizedType (extensions in package com.squareup.kotlinpoet) | |
| com.squareup.kotlinpoet.ParameterizedTypeName | |
| com.squareup.kotlinpoet.PropertySpec |
A generated property declaration. |
| java.lang.reflect.Type (extensions in package com.squareup.kotlinpoet) | |
| com.squareup.kotlinpoet.TypeAliasSpec |
A generated typealias declaration |
| javax.lang.model.element.TypeElement (extensions in package com.squareup.kotlinpoet) | |
| javax.lang.model.type.TypeMirror (extensions in package com.squareup.kotlinpoet) | |
| com.squareup.kotlinpoet.TypeName |
Any type in Kotlin's type system. This class identifies simple types like |
| javax.lang.model.element.TypeParameterElement (extensions in package com.squareup.kotlinpoet) | |
| com.squareup.kotlinpoet.TypeSpec |
A generated class, interface, or enum declaration. |
| javax.lang.model.type.TypeVariable (extensions in package com.squareup.kotlinpoet) | |
| com.squareup.kotlinpoet.TypeVariableName | |
| javax.lang.model.type.WildcardType (extensions in package com.squareup.kotlinpoet) | |
| java.lang.reflect.WildcardType (extensions in package com.squareup.kotlinpoet) | |
| com.squareup.kotlinpoet.WildcardTypeName |