Annotations | 
object Annotations | 
ClassMeta | 
data class ClassMeta | 
ClassSpec | 
class ClassSpec | 
ClassSpecBuilder | 
class ClassSpecBuilder | 
ClassSpecFunc | 
typealias ClassSpecFunc = ClassSpecBuilder.() -> Unit | 
CodeBuilder | 
open class CodeBuilder | 
CodeExpression | 
 Expression defined with Java code. abstract class CodeExpression : JavaCodeBlock | 
CodeFunc | 
typealias CodeFunc = CodeBuilder.() -> Unit | 
ConstructorCodeBuilder | 
class ConstructorCodeBuilder : CodeBuilder | 
ConstructorCodeFunc | 
typealias ConstructorCodeFunc = ConstructorCodeBuilder.() -> Unit | 
ConstructorMeta | 
data class ConstructorMeta | 
ExpressionBuilder | 
class ExpressionBuilder | 
Format | 
object Format | 
JavaVersion | 
enum class JavaVersion | 
MethodCodeBuilder | 
class MethodCodeBuilder : CodeBuilder | 
MethodCodeFunc | 
typealias MethodCodeFunc = MethodCodeBuilder.() -> Unit | 
MethodMeta | 
data class MethodMeta | 
TypeNames | 
object TypeNames | 
binaryOr | 
 Join a series of expressions with a binary "or" operator (|). fun binaryOr(expressions: List<CodeExpression>): CodeExpressionfun binaryOr(vararg expressions: CodeExpression): CodeExpression | 
classSpec | 
fun classSpec(name: ClassName, modifiers: List<Modifier> = emptyList(), annotations: List<AnnotationSpec> = emptyList(), implements: List<TypeName> = emptyList(), extends: TypeName? = null, block: ClassSpecFunc): ClassSpecfun classSpec(name: String, modifiers: List<Modifier> = emptyList(), annotations: List<AnnotationSpec> = emptyList(), implements: List<TypeName> = emptyList(), extends: TypeName? = null, block: ClassSpecFunc): ClassSpec | 
codeBlock | 
 Generate a block of java code. fun codeBlock(block: CodeFunc): CodeBlock | 
constructorInvoke | 
 Generate a constructor invocation expression. fun constructorInvoke(type: TypeName, parameters: List<CodeExpression> = listOf()): CodeExpressionfun constructorInvoke(type: TypeName, vararg parameters: CodeExpression): CodeExpressionfun constructorInvoke(type: KClass<*>, vararg parameters: CodeExpression): CodeExpressionfun constructorInvoke(type: KClass<*>, parameters: List<CodeExpression> = listOf()): CodeExpression | 
constructorSpec | 
fun constructorSpec(parameters: List<ParameterSpec> = emptyList(), modifiers: List<Modifier> = emptyList(), annotations: List<AnnotationSpec> = emptyList(), throws: List<TypeName> = emptyList(), varargs: Boolean = false, body: ConstructorCodeFunc): MethodSpec | 
e | 
 Short alias for expression. fun e(format: String, vararg args: Any): CodeExpression | 
emptyExpression | 
fun emptyExpression(): CodeExpression | 
expression | 
 Format java code as an expression. fun expression(format: String, vararg args: Any): CodeExpression
Build a java code expression. fun expression(block: ExpressionBuilder.() -> Unit): CodeExpression
Build an expression where all the lines after the first are indented. fun expression(vararg lines: CodeExpression): CodeExpressionfun expression(lines: List<CodeExpression>): CodeExpression | 
fieldSpec | 
fun fieldSpec(type: TypeName, name: String, modifiers: List<Modifier> = emptyList(), annotations: List<AnnotationSpec> = emptyList(), initializer: CodeExpression? = null): FieldSpecfun fieldSpec(type: Type, name: String, modifiers: List<Modifier> = emptyList(), annotations: List<AnnotationSpec> = emptyList(), initializer: CodeExpression? = null): FieldSpecfun fieldSpec(type: KClass<*>, name: String, modifiers: List<Modifier> = emptyList(), annotations: List<AnnotationSpec> = emptyList(), initializer: CodeExpression? = null): FieldSpec | 
lambda | 
 Render a lambda function. fun lambda(vararg parameterNames: String, block: CodeFunc): CodeExpressionfun lambda(parameterNames: List<String>, block: CodeFunc): CodeExpression
Render a lambda function with a single expression and no curly braces. fun lambda(parameterNames: List<String>, expression: CodeExpression): CodeExpressionfun lambda(vararg parameterNames: String, expression: CodeExpression): CodeExpression
Render a lambda function with a single expression and no curly braces or parameters. fun lambda(expression: CodeExpression): CodeExpression | 
literal | 
fun literal(value: String): CodeExpressionfun literal(value: Char): CodeExpressionfun literal(value: Byte): CodeExpressionfun literal(value: Short): CodeExpressionfun literal(value: Int): CodeExpressionfun literal(value: Long): CodeExpressionfun literal(value: Float): CodeExpressionfun literal(value: Double): CodeExpressionfun literal(value: Boolean): CodeExpression | 
literalNull | 
fun literalNull(): CodeExpression | 
logicalAnd | 
 Join a series of expressions with a logical "and" operator (&&). fun logicalAnd(expressions: List<CodeExpression>): CodeExpressionfun logicalAnd(vararg expressions: CodeExpression): CodeExpression | 
logicalOr | 
 Join a series of expressions with a logical "or" operator (||). fun logicalOr(expressions: List<CodeExpression>): CodeExpressionfun logicalOr(vararg expressions: CodeExpression): CodeExpression | 
methodInvoke | 
 Generate a method invocation expression. fun methodInvoke(context: CodeExpression, parameters: List<CodeExpression> = listOf()): CodeExpressionfun methodInvoke(context: CodeExpression, vararg parameters: CodeExpression): CodeExpressionfun methodInvoke(context: String, vararg parameters: CodeExpression): CodeExpressionfun methodInvoke(context: String, parameters: List<CodeExpression> = listOf()): CodeExpression | 
methodSpec | 
fun methodSpec(name: String, parameters: List<ParameterSpec> = emptyList(), modifiers: List<Modifier> = emptyList(), annotations: List<AnnotationSpec> = emptyList(), throws: List<TypeName> = emptyList(), varargs: Boolean = false, body: MethodCodeFunc? = null): MethodSpecfun methodSpec(returns: TypeName, name: String, parameters: List<ParameterSpec> = emptyList(), modifiers: List<Modifier> = emptyList(), annotations: List<AnnotationSpec> = emptyList(), throws: List<TypeName> = emptyList(), varargs: Boolean = false, body: MethodCodeFunc? = null): MethodSpecfun methodSpec(returns: Type, name: String, parameters: List<ParameterSpec> = emptyList(), modifiers: List<Modifier> = emptyList(), annotations: List<AnnotationSpec> = emptyList(), throws: List<TypeName> = emptyList(), varargs: Boolean = false, body: MethodCodeFunc? = null): MethodSpecfun methodSpec(returns: KClass<*>, name: String, parameters: List<ParameterSpec> = emptyList(), modifiers: List<Modifier> = emptyList(), annotations: List<AnnotationSpec> = emptyList(), throws: List<TypeName> = emptyList(), varargs: Boolean = false, body: MethodCodeFunc? = null): MethodSpec | 
parameterSpec | 
fun parameterSpec(type: TypeName, name: String, final: Boolean = true, annotations: List<AnnotationSpec> = emptyList()): ParameterSpecfun parameterSpec(type: Type, name: String, final: Boolean = true, annotations: List<AnnotationSpec> = emptyList()): ParameterSpecfun parameterSpec(type: KClass<*>, name: String, final: Boolean = true, annotations: List<AnnotationSpec> = emptyList()): ParameterSpec |