value-processor / me.tatarka.valueprocessor / ConstructionSource / Builder

Builder

abstract class Builder : ConstructionSource

Constructors

<init>

Builder()

Properties

buildMethod

abstract val buildMethod: ExecutableElement

builderClass

abstract val builderClass: TypeElement

isBuilder

open val isBuilder: Boolean

If this source is a builder.

Inherited Properties

constructionElement

abstract val constructionElement: ExecutableElement

The executable element to construct the Value. This may be a constructor, factory method, or builder.

isConstructor

abstract val isConstructor: Boolean

If this source is a constructor (either of the value or the builder).

targetClass

abstract val targetClass: TypeElement

The target Value class to construct.

Inherited Functions

findBuildMethod

fun findBuildMethod(builderClass: TypeElement): ExecutableElement?

Inheritors

BuilderConstructor

class BuilderConstructor : Builder

BuilderFactory

class BuilderFactory : Builder